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\Discovery

Code

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',
);
doc_Drupal
2016-10-29 09:36:47
Comments
Leave a Comment

Please login to continue.