You are here

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

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

Dispatched after an entity containing a date recur field is saved.

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_VALUE_SAVE

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

\Drupal\date_recur\DateRecurOccurrences::onSave

File

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

Class

MyEventSubscriber
Event subscribers for Recurring Date Field.

Code

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