function 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.