@@ 228-232 (lines=5) @@ | ||
225 | * If the view uses a dot syntax namespace then |
|
226 | * transform it all into the override view path. |
|
227 | */ |
|
228 | if ($addon = $this->addons->get($namespace)) { |
|
229 | $path = $this->theme->getNamespace( |
|
230 | "addons/{$addon->getVendor()}/{$addon->getSlug()}-{$addon->getType()}/" . $path |
|
231 | ); |
|
232 | } |
|
233 | ||
234 | if ($this->view->exists($path)) { |
|
235 | return $path; |
|
@@ 244-248 (lines=5) @@ | ||
241 | * |
|
242 | * @deprecated since v3.0.0 |
|
243 | */ |
|
244 | if ($addon) { |
|
245 | $path = $this->theme->getNamespace( |
|
246 | "addon/{$addon->getVendor()}/{$addon->getSlug()}-{$addon->getType()}/" . $path |
|
247 | ); |
|
248 | } |
|
249 | ||
250 | if ($this->view->exists($path)) { |
|
251 | return $path; |