diff --git a/core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php b/core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php index f909809..20c7d06 100644 --- a/core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php +++ b/core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php @@ -43,9 +43,7 @@ public function __construct($paths = array(), ModuleHandlerInterface $module_han foreach ($namespaces as $name => $path) { $templatesDirectory = $path . '/templates'; - if (file_exists($templatesDirectory)) { - $this->addPath($templatesDirectory, $name); - } + $this->addPath($templatesDirectory, $name); } }