diff --git a/core/lib/Drupal/Core/Entity/Schema/ContentEntitySchemaHandler.php b/core/lib/Drupal/Core/Entity/Schema/ContentEntitySchemaHandler.php index d06c72a..a465220 100644 --- a/core/lib/Drupal/Core/Entity/Schema/ContentEntitySchemaHandler.php +++ b/core/lib/Drupal/Core/Entity/Schema/ContentEntitySchemaHandler.php @@ -15,7 +15,7 @@ use Drupal\Core\Entity\EntityStorageException; use Drupal\Core\Entity\Exception\FieldStorageDefinitionUpdateForbiddenException; use Drupal\Core\Field\FieldStorageDefinitionInterface; -use Drupal\field\FieldException; +use Drupal\Core\Field\FieldException; /** * Defines a schema handler that supports revisionable, translatable entities. @@ -781,7 +781,7 @@ protected function updateSharedTableSchema(FieldStorageDefinitionInterface $stor * - unique keys: The schema definition for the unique keys. * - foreign keys: The schema definition for the foreign keys. * - * @throws \Drupal\field\FieldException + * @throws \Drupal\Core\Field\FieldException * Exception thrown if the schema contains reserved column names. */ protected function getSharedTableFieldSchema(FieldStorageDefinitionInterface $storage_definition, array $column_mapping) { @@ -972,7 +972,7 @@ protected function addDefaultLangcodeSchema(&$schema) { * The same as a hook_schema() implementation for the data and the * revision tables. * - * @throws \Drupal\field\FieldException + * @throws \Drupal\Core\Field\FieldException * Exception thrown if the schema contains reserved column names. * * @see hook_schema() diff --git a/core/lib/Drupal/Core/Field/FieldDefinition.php b/core/lib/Drupal/Core/Field/FieldDefinition.php index d2aa2ad..c991c41 100644 --- a/core/lib/Drupal/Core/Field/FieldDefinition.php +++ b/core/lib/Drupal/Core/Field/FieldDefinition.php @@ -10,7 +10,7 @@ use Drupal\Core\Entity\ContentEntityInterface; use Drupal\Core\Field\TypedData\FieldItemDataDefinition; use Drupal\Core\TypedData\ListDataDefinition; -use Drupal\field\FieldException; +use Drupal\Core\Field\FieldException; /** * A class for defining entity fields. diff --git a/core/modules/field/field.purge.inc b/core/modules/field/field.purge.inc index 4a289cf..8bc1237 100644 --- a/core/modules/field/field.purge.inc +++ b/core/modules/field/field.purge.inc @@ -6,7 +6,7 @@ */ use Drupal\field\Entity\FieldConfig; -use Drupal\field\FieldException; +use Drupal\Core\Field\FieldException; /** * @defgroup field_purge Field API bulk data deletion diff --git a/core/modules/field/src/Core/Field/FieldException.php b/core/modules/field/src/Core/Field/FieldException.php new file mode 100644 index 0000000..ea3cb9a --- /dev/null +++ b/core/modules/field/src/Core/Field/FieldException.php @@ -0,0 +1,16 @@ +