From 2b72540d4c1ae01eca9376f2f4c2c1c09cf47e61 Mon Sep 17 00:00:00 2001 From: Noboru Shiroiwa <14008307+nshiro@users.noreply.github.com> Date: Mon, 16 Sep 2024 23:20:17 +0900 Subject: [PATCH] [11.x] Add prependLocation method to View Factory (#52806) --- Factory.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Factory.php b/Factory.php index bc6e59d55..e5efe067e 100755 --- a/Factory.php +++ b/Factory.php @@ -424,6 +424,17 @@ public function addLocation($location) $this->finder->addLocation($location); } + /** + * Prepend a location to the array of view locations. + * + * @param string $location + * @return void + */ + public function prependLocation($location) + { + $this->finder->prependLocation($location); + } + /** * Add a new namespace to the loader. *