You are here

private static property BusinessRulesListener::$staticEvents in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/EventSubscriber/BusinessRulesListener.php \Drupal\business_rules\EventSubscriber\BusinessRulesListener::staticEvents

Events to subscribe if container is not available. See #3093597.

Type: array

File

src/EventSubscriber/BusinessRulesListener.php, line 73

Class

BusinessRulesListener
Class BusinessRulesListener.

Namespace

Drupal\business_rules\EventSubscriber

Code

private static $staticEvents = [
  KernelEvents::CONTROLLER => [
    'registerDynamicEvents',
    100,
  ],
  KernelEvents::REQUEST => [
    'registerDynamicEvents',
    100,
  ],
  KernelEvents::TERMINATE => [
    'registerDynamicEvents',
    100,
  ],
  KernelEvents::VIEW => [
    'registerDynamicEvents',
    100,
  ],
  BusinessRulesDrushEvent::DRUSHINIT => [
    'registerDynamicEvents',
    100,
  ],
];