You are here

DateRecurEvents.php in Recurring Dates Field 3.x

File

src/Event/DateRecurEvents.php
View source
<?php

declare (strict_types=1);
namespace Drupal\date_recur\Event;


/**
 * Reacts to changes on entity types.
 */
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';

}

Classes

Namesort descending Description
DateRecurEvents Reacts to changes on entity types.