ContainerAwareEventDispatcher::$listeners
Same name in other branches
- 9 core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php \Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::listeners
- 8.9.x core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php \Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::listeners
- 11.x core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php \Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::listeners
Listener definitions.
A nested array of listener definitions keyed by event name and priority. A listener definition is an associative array with one of the following key value pairs:
- callable: A callable listener
- service: An array of the form [service id, method]
A service entry will be resolved to a callable only just before its invocation.
Type: array
File
-
core/
lib/ Drupal/ Component/ EventDispatcher/ ContainerAwareEventDispatcher.php, line 57
Class
- ContainerAwareEventDispatcher
- A performance optimized container aware event dispatcher.
Namespace
Drupal\Component\EventDispatcherCode
protected $listeners;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.