function ListItemBase::submitFieldStorageUpdate

Resets the static variable on field storage update.

File

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

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.