You are here

final class DateRecurEvents in Recurring Dates Field 3.x

Same name and namespace in other branches
  1. 8.2 src/Event/DateRecurEvents.php \Drupal\date_recur\Event\DateRecurEvents
  2. 3.0.x src/Event/DateRecurEvents.php \Drupal\date_recur\Event\DateRecurEvents
  3. 3.1.x src/Event/DateRecurEvents.php \Drupal\date_recur\Event\DateRecurEvents

Reacts to changes on entity types.

Hierarchy

Expanded class hierarchy of DateRecurEvents

2 files declare their use of DateRecurEvents
DateRecurFieldItemList.php in src/Plugin/Field/FieldType/DateRecurFieldItemList.php
DateRecurOccurrences.php in src/DateRecurOccurrences.php

File

src/Event/DateRecurEvents.php, line 10

Namespace

Drupal\date_recur\Event
View source
final class DateRecurEvents {

  /**
   * Dispatched after an entity containing a date recur field is saved.
   */
  public const FIELD_VALUE_SAVE = 'date_recur_field_value_save';

  /**
   * Dispatched when an entity containing date recur fields is almost deleted.
   */
  public const FIELD_ENTITY_DELETE = 'date_recur_field_entity_delete';

  /**
   * Dispatched when an entity revision is deleted.
   */
  public const FIELD_REVISION_DELETE = 'date_recur_field_entity_revision_delete';

}

Members

Namesort descending Modifiers Type Description Overrides
DateRecurEvents::FIELD_ENTITY_DELETE public constant Dispatched when an entity containing date recur fields is almost deleted.
DateRecurEvents::FIELD_REVISION_DELETE public constant Dispatched when an entity revision is deleted.
DateRecurEvents::FIELD_VALUE_SAVE public constant Dispatched after an entity containing a date recur field is saved.