diff --git a/core/modules/field/src/Entity/FieldConfig.php b/core/modules/field/src/Entity/FieldConfig.php index 9df0ce9a3219d6a38e4af8734504d5c498eba01a..8109d138daf6b6ad7216765d497664f6ecb3a9d0 100644 --- a/core/modules/field/src/Entity/FieldConfig.php +++ b/core/modules/field/src/Entity/FieldConfig.php @@ -312,10 +312,10 @@ public function getFieldStorageDefinition() { } if (!$field_storage_definition) { - throw new FieldException("Attempt to create a field {$this->field_name} that does not exist on entity type {$this->entity_type}."); + throw new FieldException("Attempted to create an instance of field with name {$this->field_name} on entity type {$this->entity_type} when the field storage does not exist."); } if (!$field_storage_definition instanceof FieldStorageConfigInterface) { - throw new FieldException("Attempt to create a configurable field of non-configurable field storage {$this->field_name}."); + throw new FieldException("Attempted to create a configurable field of non-configurable field storage {$this->field_name}."); } $this->fieldStorage = $field_storage_definition; }