Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EventDispatcherInterface.php

function EventDispatcherInterface::dispatch

Same name in this branch
  1. 11.1.x vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php \Symfony\Contracts\EventDispatcher\EventDispatcherInterface::dispatch()

Provide all relevant listeners with an event to process.

Parameters

object $event: The object to process.

Return value

object The Event that was passed, now modified by listeners.

1 method overrides EventDispatcherInterface::dispatch()
EventDispatcherInterface::dispatch in vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php
Dispatches an event to all registered listeners.

File

vendor/psr/event-dispatcher/src/EventDispatcherInterface.php, line 20

Class

EventDispatcherInterface
Defines a dispatcher for events.

Namespace

Psr\EventDispatcher

Code

public function dispatch(object $event);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal