public static function DateRecurOccurrences::getSubscribedEvents in Recurring Dates Field 8.2
Same name and namespace in other branches
- 3.x src/DateRecurOccurrences.php \Drupal\date_recur\DateRecurOccurrences::getSubscribedEvents()
- 3.0.x src/DateRecurOccurrences.php \Drupal\date_recur\DateRecurOccurrences::getSubscribedEvents()
- 3.1.x src/DateRecurOccurrences.php \Drupal\date_recur\DateRecurOccurrences::getSubscribedEvents()
File
- src/
DateRecurOccurrences.php, line 452
Class
- DateRecurOccurrences
- Manages occurrences tables and the data that populates them.
Namespace
Drupal\date_recurCode
public static function getSubscribedEvents() : array {
return [
DateRecurEvents::FIELD_VALUE_SAVE => [
'onSave',
],
DateRecurEvents::FIELD_ENTITY_DELETE => [
'onEntityDelete',
],
DateRecurEvents::FIELD_REVISION_DELETE => [
'onEntityRevisionDelete',
],
] + static::getEntityTypeEvents() + static::getFieldStorageDefinitionEvents();
}