function ListItemBase::submitFieldStorageUpdate

Same name and namespace in other branches
  1. 10 core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php \Drupal\options\Plugin\Field\FieldType\ListItemBase::submitFieldStorageUpdate()

Resets the static variable on field storage update.

File

core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php, line 562

Class

ListItemBase
Plugin base class inherited by the options field types.

Namespace

Drupal\options\Plugin\Field\FieldType

Code

public static function submitFieldStorageUpdate() {
    drupal_static_reset('options_allowed_values');
}

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