function OptionsHooks::fieldStorageConfigUpdate

Same name and namespace in other branches
  1. 11.x core/modules/options/src/Hook/OptionsHooks.php \Drupal\options\Hook\OptionsHooks::fieldStorageConfigUpdate()

Implements hook_ENTITY_TYPE_update() for 'field_storage_config'.

Attributes

#[Hook('field_storage_config_update')]

File

core/modules/options/src/Hook/OptionsHooks.php, line 58

Class

OptionsHooks
Hook implementations for options.

Namespace

Drupal\options\Hook

Code

public function fieldStorageConfigUpdate(FieldStorageConfigInterface $field_storage) : void {
  drupal_static_reset('options_allowed_values');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.