diff --git a/core/modules/field/src/Entity/FieldConfig.php b/core/modules/field/src/Entity/FieldConfig.php index d7f9bc0..0799077 100644 --- a/core/modules/field/src/Entity/FieldConfig.php +++ b/core/modules/field/src/Entity/FieldConfig.php @@ -315,7 +315,7 @@ protected function preSaveNew(EntityStorageInterface $storage) { if (!$field_type) { throw new FieldException(format_string('Attempt to create a field of unknown type %type.', array('%type' => $this->getType()))); } - $this->setModule($field_type['provider']); + $this->module = $field_type['provider']; // Make sure all settings are present, so that a complete field // definition is passed to the various hooks and written to config.