diff --git a/core/lib/Drupal/Core/Entity/Field/FieldTypePluginManager.php b/core/lib/Drupal/Core/Entity/Field/FieldTypePluginManager.php index e2b254d..ec5f187 100644 --- a/core/lib/Drupal/Core/Entity/Field/FieldTypePluginManager.php +++ b/core/lib/Drupal/Core/Entity/Field/FieldTypePluginManager.php @@ -33,7 +33,7 @@ class FieldTypePluginManager extends DefaultPluginManager { * * @var array */ - protected $fieldTypeOptions; + protected $fieldTypeOptions = array(); /** * Constructs the FieldTypePluginManager object @@ -89,6 +89,14 @@ public function getDefaultInstanceSettings($type) { } /** + * {@inheritdoc} + */ + public function clearCachedDefinitions() { + $this->fieldTypeOptions = array(); + parent::clearCachedDefinitions(); + } + + /** * Returns an array of field type options. * * @param string|null $type