protected function ComponentsLoader::findTemplate in Components! 8.2
Same name and namespace in other branches
- 3.x src/Template/Loader/ComponentsLoader.php \Drupal\components\Template\Loader\ComponentsLoader::findTemplate()
Throws
File
- src/
Template/ Loader/ ComponentsLoader.php, line 229
Class
- ComponentsLoader
- Loads templates from the filesystem.
Namespace
Drupal\components\Template\LoaderCode
protected function findTemplate($name, $throw = TRUE) {
// The active theme might change during the request, so we wait until the
// last possible moment to check before delivering a template.
$this
->checkActiveTheme();
return parent::findTemplate($name, $throw);
}