function TestSiteExcluder::getSubscribedEvents

Same name and namespace in other branches
  1. 11.x core/modules/package_manager/src/PathExcluder/TestSiteExcluder.php \Drupal\package_manager\PathExcluder\TestSiteExcluder::getSubscribedEvents()

File

core/modules/package_manager/src/PathExcluder/TestSiteExcluder.php, line 23

Class

TestSiteExcluder
Excludes 'sites/simpletest' from stage operations.

Namespace

Drupal\package_manager\PathExcluder

Code

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

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