You are here

function date_recur_field_storage_config_insert in Recurring Dates Field 8

Implements hook_ENTITY_TYPE_insert().

ENTITY_TYPE: 'field_storage_config'.

See also

\Drupal\date_recur\DateRecurEntityHooks::fieldStorageConfigInsert

File

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

Code

function date_recur_field_storage_config_insert(FieldStorageConfigInterface $fieldStorage) {

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