You are here

protected function Feed::eventDispatcher in Feeds 8.3

Gets the event dispatcher.

Return value

\Symfony\Component\EventDispatcher\EventDispatcherInterface The event dispatcher service.

File

src/Entity/Feed.php, line 105

Class

Feed
Defines the feed entity class.

Namespace

Drupal\feeds\Entity

Code

protected function eventDispatcher() {
  return \Drupal::service('event_dispatcher');
}