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.