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