class NullEventSubscriber in Helper 8
An event subscriber class that does nothing. Use for service overrides.
Hierarchy
- class \Drupal\helper\EventSubscriber\NullEventSubscriber implements \Symfony\Component\EventDispatcher\EventSubscriberInterface
Expanded class hierarchy of NullEventSubscriber
File
- src/
EventSubscriber/ NullEventSubscriber.php, line 10
Namespace
Drupal\helper\EventSubscriberView source
class NullEventSubscriber implements EventSubscriberInterface {
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents() {
return [];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NullEventSubscriber:: |
public static | function | Returns an array of event names this subscriber wants to listen to. |