public function Event::stopPropagation

Stops the propagation of the event to further event listeners.

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().

@api

1 call to Event::stopPropagation()
GetResponseEvent::setResponse in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Event/GetResponseEvent.php
Sets a response and stops event propagation

File

drupal/core/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Event.php, line 69

Class

Event
Event is the base class for classes containing event data.

Namespace

Symfony\Component\EventDispatcher

Code

public function stopPropagation() {
  $this->propagationStopped = true;
}