function NodeModulesExcluder::getSubscribedEvents
Same name and namespace in other branches
- 11.x core/modules/package_manager/src/PathExcluder/NodeModulesExcluder.php \Drupal\package_manager\PathExcluder\NodeModulesExcluder::getSubscribedEvents()
File
-
core/
modules/ package_manager/ src/ PathExcluder/ NodeModulesExcluder.php, line 33
Class
- NodeModulesExcluder
- Excludes node_modules files from stage directories.
Namespace
Drupal\package_manager\PathExcluderCode
public static function getSubscribedEvents() : array {
return [
CollectPathsToExcludeEvent::class => 'excludeNodeModulesFiles',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.