You are here

public static function CommandSubscriber::getSubscribedEvents in Update helper 2.x

Same name and namespace in other branches
  1. 8 src/Events/CommandSubscriber.php \Drupal\update_helper\Events\CommandSubscriber::getSubscribedEvents()

File

src/Events/CommandSubscriber.php, line 35

Class

CommandSubscriber
Subscriber for "generate:configuration:update" command.

Namespace

Drupal\update_helper\Events

Code

public static function getSubscribedEvents() {
  return [
    UpdateHelperEvents::COMMAND_GCU_EXECUTE => [
      [
        'onExecute',
        10,
      ],
    ],
  ];
}