Removes an event subscriber.
Parameters
EventSubscriberInterface $subscriber The 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);