FilesystemLoader::$allowedFileExtensions
Same name in other branches
- 10 core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php \Drupal\Core\Template\Loader\FilesystemLoader::allowedFileExtensions
- 11.x core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php \Drupal\Core\Template\Loader\FilesystemLoader::allowedFileExtensions
Allowed file extensions.
Type: string[]
File
-
core/
lib/ Drupal/ Core/ Template/ Loader/ FilesystemLoader.php, line 24
Class
- FilesystemLoader
- Loads templates from the filesystem.
Namespace
Drupal\Core\Template\LoaderCode
protected $allowedFileExtensions = [
'css',
'html',
'js',
'svg',
'twig',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.