|
@@ 146-150 (lines=5) @@
|
| 143 |
|
$mobile = $this->mobiles->get($this->theme->getNamespace(), []); |
| 144 |
|
$overrides = $this->overrides->get($this->theme->getNamespace(), []); |
| 145 |
|
|
| 146 |
|
if ($this->mobile && $path = array_get($mobile, $view->getName(), null)) { |
| 147 |
|
$view->setPath($path); |
| 148 |
|
} elseif ($path = array_get($overrides, $view->getName(), null)) { |
| 149 |
|
$view->setPath($path); |
| 150 |
|
} |
| 151 |
|
|
| 152 |
|
if ($this->module) { |
| 153 |
|
|
|
@@ 157-161 (lines=5) @@
|
| 154 |
|
$mobile = $this->mobiles->get($this->module->getNamespace(), []); |
| 155 |
|
$overrides = $this->overrides->get($this->module->getNamespace(), []); |
| 156 |
|
|
| 157 |
|
if ($this->mobile && $path = array_get($mobile, $view->getName(), null)) { |
| 158 |
|
$view->setPath($path); |
| 159 |
|
} elseif ($path = array_get($overrides, $view->getName(), null)) { |
| 160 |
|
$view->setPath($path); |
| 161 |
|
} |
| 162 |
|
} |
| 163 |
|
|
| 164 |
|
if ($overload = $this->getOverloadPath($view)) { |