W3cubDocs

/Drupal 8

function options_field_storage_config_delete

options_field_storage_config_delete(FieldStorageConfigInterface $field_storage)

Implements hook_ENTITY_TYPE_delete() for 'field_storage_config'.

File

core/modules/options/options.module, line 46
Defines selection, check box and radio button widgets for text and numeric fields.

Code

function options_field_storage_config_delete(FieldStorageConfigInterface $field_storage) {
  drupal_static_reset('options_allowed_values');
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!options!options.module/function/options_field_storage_config_delete/8.1.x