public function DateRecurValueEvent::__construct in Recurring Dates Field 3.0.x
Same name and namespace in other branches
- 8.2 src/Event/DateRecurValueEvent.php \Drupal\date_recur\Event\DateRecurValueEvent::__construct()
- 3.x src/Event/DateRecurValueEvent.php \Drupal\date_recur\Event\DateRecurValueEvent::__construct()
- 3.1.x src/Event/DateRecurValueEvent.php \Drupal\date_recur\Event\DateRecurValueEvent::__construct()
DateRecurValueEvent constructor.
Parameters
\Drupal\date_recur\Plugin\Field\FieldType\DateRecurFieldItemList $field: The date recur field item list.
bool $insert: Specifies whether the entity was created.
File
- src/
Event/ DateRecurValueEvent.php, line 37
Class
- DateRecurValueEvent
- Event dispatched when an entity containing a date recur field is modified.
Namespace
Drupal\date_recur\EventCode
public function __construct(DateRecurFieldItemList $field, $insert) {
$this->field = $field;
$this->insert = $insert;
}