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