Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UnknownPathExcluder.php

function UnknownPathExcluder::getSubscribedEvents

Overrides EventSubscriberInterface::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',
    ];
}
RSS feed
Powered by Drupal