class PdbRecursiveExtensionFilterIterator in Decoupled Blocks 8
Extends to provide custom whitelist and blacklist.
Hierarchy
- class \Drupal\Core\Extension\Discovery\RecursiveExtensionFilterIterator extends \Drupal\Core\Extension\Discovery\RecursiveFilterIterator
- class \Drupal\pdb\Discovery\PdbRecursiveExtensionFilterIterator
Expanded class hierarchy of PdbRecursiveExtensionFilterIterator
1 file declares its use of PdbRecursiveExtensionFilterIterator
File
- src/
Discovery/ PdbRecursiveExtensionFilterIterator.php, line 12
Namespace
Drupal\pdb\DiscoveryView source
class PdbRecursiveExtensionFilterIterator extends RecursiveExtensionFilterIterator {
/**
* {@inheritdoc}
*/
protected $allowedExtensionTypes = [
'components',
'src',
];
/**
* {@inheritdoc}
*/
protected $skippedFolders = [
// Object-oriented code subdirectories.
'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',
];
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PdbRecursiveExtensionFilterIterator:: |
protected | property | ||
PdbRecursiveExtensionFilterIterator:: |
protected | property | ||
RecursiveExtensionFilterIterator:: |
protected | property | Whether to include test directories when recursing. | |
RecursiveExtensionFilterIterator:: |
protected | property | List of directory names to skip when recursing. | |
RecursiveExtensionFilterIterator:: |
protected | property | List of base extension type directory names to scan. | |
RecursiveExtensionFilterIterator:: |
public | function | ||
RecursiveExtensionFilterIterator:: |
public | function | Controls whether test directories will be scanned. | |
RecursiveExtensionFilterIterator:: |
public | function | ||
RecursiveExtensionFilterIterator:: |
public | function | Construct a RecursiveExtensionFilterIterator. |