public function EventDispatcherInterface::removeSubscriber

Removes an event subscriber.

Parameters

EventSubscriberInterface $subscriber The subscriber:

3 methods override EventDispatcherInterface::removeSubscriber()
EventDispatcher::removeSubscriber in drupal/core/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
ImmutableEventDispatcher::removeSubscriber in drupal/core/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ImmutableEventDispatcher.php
Removes an event subscriber.
TraceableEventDispatcher::removeSubscriber in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php
Removes an event subscriber.

File

drupal/core/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcherInterface.php, line 77

Class

EventDispatcherInterface
The EventDispatcherInterface is the central point of Symfony's event listener system. Listeners are registered on the manager and events are dispatched through the manager.

Namespace

Symfony\Component\EventDispatcher

Code

public function removeSubscriber(EventSubscriberInterface $subscriber);