You are here

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\EventSubscriber
View source
class NullEventSubscriber implements EventSubscriberInterface {

  /**
   * {@inheritdoc}
   */
  public static function getSubscribedEvents() {
    return [];
  }

}

Members

Namesort descending Modifiers Type Description Overrides
NullEventSubscriber::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to.