function LongLivedSandboxSubscriber::getSubscribedEvents

Same name and namespace in other branches
  1. main core/modules/package_manager/src/EventSubscriber/LongLivedSandboxSubscriber.php \Drupal\package_manager\EventSubscriber\LongLivedSandboxSubscriber::getSubscribedEvents()

File

core/modules/package_manager/src/EventSubscriber/LongLivedSandboxSubscriber.php, line 64

Class

LongLivedSandboxSubscriber
Maintains state for the long-lived sandbox directory.

Namespace

Drupal\package_manager\EventSubscriber

Code

public static function getSubscribedEvents() : array {
  return [
    ConfigEvents::SAVE => 'onConfigSave',
    PostCreateEvent::class => 'updateLastCreatedTime',
  ];
}

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