You are here

public function MyEventSubscriber::onEntityDelete in Recurring Dates Field 3.x

Same name and namespace in other branches
  1. 8.2 date_recur.api.php \MyEventSubscriber::onEntityDelete()
  2. 3.0.x date_recur.api.php \MyEventSubscriber::onEntityDelete()
  3. 3.1.x date_recur.api.php \MyEventSubscriber::onEntityDelete()

Dispatched when an entity containing date recur fields is almost deleted.

Event name. Dispatched by. Live example.

Parameters

\Drupal\date_recur\Event\DateRecurValueEvent $event: The date recur value event.

See also

\Drupal\date_recur\Event\DateRecurEvents::FIELD_ENTITY_DELETE

\Drupal\date_recur\Plugin\Field\FieldType\DateRecurFieldItemList::delete

\Drupal\date_recur\DateRecurOccurrences::onEntityDelete

File

./date_recur.api.php, line 62
Contains hooks and event examples for date_recur module.

Class

MyEventSubscriber
Event subscribers for Recurring Date Field.

Code

public function onEntityDelete(\Drupal\date_recur\Event\DateRecurValueEvent $event) : void {
}