List of directory names to skip when recursing.
These directories are globally ignored in the recursive filesystem scan; i.e., extensions (of all types) are not able to use any of these names, because their directory names will be skipped.
Type: array
File
- core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php, line 56
Class
- RecursiveExtensionFilterIterator
- Filters a RecursiveDirectoryIterator to discover extensions.
Namespace
Drupal\Core\Extension\Discovery
Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | protected $blacklist = array ( // Object-oriented code subdirectories. 'src' , 'lib' , 'vendor' , // Front-end. 'assets' , 'css' , 'files' , 'images' , 'js' , 'misc' , 'templates' , // Legacy subdirectories. 'includes' , // Test subdirectories. 'fixtures' , // @todo ./tests/Drupal should be ./tests/src/Drupal 'Drupal' , ); |
Please login to continue.