protected function EventDispatcherTrait::dispatchEvent in Feeds 8.3
Dispatches an event.
Parameters
string $event_name: The name of the event.
\Symfony\Component\EventDispatcher\Event $event: The event to dispatch.
Return value
\Symfony\Component\EventDispatcher\Event The invoked event.
6 calls to EventDispatcherTrait::dispatchEvent()
- FeedClearHandler::clear in src/
FeedClearHandler.php - Deletes all items from a feed.
- FeedExpireHandler::expireItem in src/
FeedExpireHandler.php - Expires a single item imported with the given feed.
- FeedsExecutable::doClean in src/
FeedsExecutable.php - Cleans an entity.
- FeedsExecutable::doFetch in src/
FeedsExecutable.php - Invokes the fetch stage.
- FeedsExecutable::doParse in src/
FeedsExecutable.php - Parses.
File
- src/
Event/ EventDispatcherTrait.php, line 37
Class
- EventDispatcherTrait
- Wrapper methods for the event dispatcher interface.
Namespace
Drupal\feeds\EventCode
protected function dispatchEvent($event_name, Event $event = NULL) {
return $this
->getEventDispatcher()
->dispatch($event_name, $event);
}