You are here

public function DateRecurValueEvent::getField in Recurring Dates Field 3.x

Same name and namespace in other branches
  1. 8.2 src/Event/DateRecurValueEvent.php \Drupal\date_recur\Event\DateRecurValueEvent::getField()
  2. 3.0.x src/Event/DateRecurValueEvent.php \Drupal\date_recur\Event\DateRecurValueEvent::getField()
  3. 3.1.x src/Event/DateRecurValueEvent.php \Drupal\date_recur\Event\DateRecurValueEvent::getField()

Get the field list.

The field cannot be changed because the entity has already been saved.

Return value

\Drupal\date_recur\Plugin\Field\FieldType\DateRecurFieldItemList The date recur field item list.

File

src/Event/DateRecurValueEvent.php, line 50

Class

DateRecurValueEvent
Event dispatched when an entity containing a date recur field is modified.

Namespace

Drupal\date_recur\Event

Code

public function getField() : DateRecurFieldItemList {
  return $this->field;
}