By johnalbin on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.2.x
Introduced in version:
8.2.0
Issue links:
Description:
Developers are now using automation tools to help build their websites. Tools like npm, bower, and composer create directories of files needed for the automation.
To ensure the best possible performance for extension discovery (modules, themes, etc.), Drupal now filters a hard-coded range of directory names in which Drupal extensions may not appear in.
The list of globally ignored directory names is defined in the RecursiveExtensionFilterIterator::$blacklist property.
These directories are globally ignored in the recursive filesystem scan:
Object-oriented code subdirectories.
- src
- lib
- vendor
Front-end.
- assets
- bower_components
- css
- files
- images
- js
- misc
- node_modules
- templates
Legacy subdirectories.
- includes
Test subdirectories.
- fixtures
- Drupal
Impacts:
Site builders, administrators, editors
Module developers
Themers