public static function TestContinuousEventSubscriber::getSubscribedEvents

File

tmgmt_test/src/EventSubscriber/TestContinuousEventSubscriber.php, line 55

Class

TestContinuousEventSubscriber
Test event subscriber to test the continuous jobs events.

Namespace

Drupal\tmgmt_test\EventSubscriber

Code

public static function getSubscribedEvents() : array {
  $events[ContinuousEvents::SHOULD_CREATE_JOB][] = [
    'onShouldCreateJob',
  ];
  return $events;
}