You are here

function date_recur_field_storage_config_delete in Recurring Dates Field 8

Implements hook_ENTITY_TYPE_delete().

ENTITY_TYPE: 'field_storage_config'.

See also

\Drupal\date_recur\DateRecurEntityHooks::fieldStorageConfigDelete

File

./date_recur.module, line 78
Contains hooks for date_recur module.

Code

function date_recur_field_storage_config_delete(FieldStorageConfigInterface $fieldStorage) {

  /** @var \Drupal\date_recur\DateRecurEntityHooks $entityHooks */
  $entityHooks = \Drupal::service('date_recur.entity_hooks');
  $entityHooks
    ->fieldStorageConfigDelete($fieldStorage);
}