You are here

public function DateRecurValueEvent::isInsert in Recurring Dates Field 3.0.x

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

Get whether the entity was created.

Return value

bool Whether the entity was created.

File

src/Event/DateRecurValueEvent.php, line 60

Class

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

Namespace

Drupal\date_recur\Event

Code

public function isInsert() : bool {
  return $this->insert;
}