You are here

public static function ExcludedPathsSubscriber::getSubscribedEvents in Automatic Updates 8.2

File

src/Event/ExcludedPathsSubscriber.php, line 159

Class

ExcludedPathsSubscriber
Defines an event subscriber to exclude certain paths from update operations.

Namespace

Drupal\automatic_updates\Event

Code

public static function getSubscribedEvents() {
  return [
    AutomaticUpdatesEvents::PRE_START => 'preStart',
    AutomaticUpdatesEvents::PRE_COMMIT => 'preCommit',
  ];
}