function UnknownPathExcluder::getSubscribedEvents

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

File

core/modules/package_manager/src/PathExcluder/UnknownPathExcluder.php, line 59

Class

UnknownPathExcluder
Excludes unknown paths from stage operations.

Namespace

Drupal\package_manager\PathExcluder

Code

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

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