You are here

public function DateRecurFieldItemList::setEventDispatcher in Recurring Dates Field 3.1.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldType/DateRecurFieldItemList.php \Drupal\date_recur\Plugin\Field\FieldType\DateRecurFieldItemList::setEventDispatcher()
  2. 3.x src/Plugin/Field/FieldType/DateRecurFieldItemList.php \Drupal\date_recur\Plugin\Field\FieldType\DateRecurFieldItemList::setEventDispatcher()
  3. 3.0.x src/Plugin/Field/FieldType/DateRecurFieldItemList.php \Drupal\date_recur\Plugin\Field\FieldType\DateRecurFieldItemList::setEventDispatcher()

Set the event dispatcher.

Parameters

\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher: The event dispatcher.

File

src/Plugin/Field/FieldType/DateRecurFieldItemList.php, line 235

Class

DateRecurFieldItemList
Recurring date field item list.

Namespace

Drupal\date_recur\Plugin\Field\FieldType

Code

public function setEventDispatcher(EventDispatcherInterface $eventDispatcher) : void {
  $this->eventDispatcher = $eventDispatcher;
}