public function DateRecurValueEvent::getField in Recurring Dates Field 3.1.x
Same name and namespace in other branches
- 8.2 src/Event/DateRecurValueEvent.php \Drupal\date_recur\Event\DateRecurValueEvent::getField()
- 3.x src/Event/DateRecurValueEvent.php \Drupal\date_recur\Event\DateRecurValueEvent::getField()
- 3.0.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\EventCode
public function getField() : DateRecurFieldItemList {
return $this->field;
}