protected property RecursiveExtensionFilterIterator::$blacklist
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\DiscoveryCode
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', );
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Extension!Discovery!RecursiveExtensionFilterIterator.php/property/RecursiveExtensionFilterIterator::blacklist/8.1.x