function SiteFilesExcluder::getSubscribedEvents

File

core/modules/package_manager/src/PathExcluder/SiteFilesExcluder.php, line 32

Class

SiteFilesExcluder
Excludes site files from stage operations.

Namespace

Drupal\package_manager\PathExcluder

Code

public static function getSubscribedEvents() : array {
  return [
    CollectPathsToExcludeEvent::class => 'excludeSiteFiles',
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.