diff --git a/core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php b/core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php index de57c9b..bb065e2 100644 --- a/core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php +++ b/core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php @@ -16,7 +16,7 @@ class EntityReferenceFieldItemList extends FieldItemList implements EntityRefere * {@inheritdoc} */ public function referencedEntities() { - if (!isset($this->list)) { + if (empty($this->list)) { return array(); } diff --git a/core/modules/file/config/schema/file.schema.yml b/core/modules/file/config/schema/file.schema.yml index e260667..0fb20de 100644 --- a/core/modules/file/config/schema/file.schema.yml +++ b/core/modules/file/config/schema/file.schema.yml @@ -35,9 +35,6 @@ field.file.settings: uri_scheme: type: string label: 'Upload destination' - target_type: - type: string - label: 'Type of item to reference' field.file.value: type: sequence diff --git a/core/modules/image/config/schema/image.schema.yml b/core/modules/image/config/schema/image.schema.yml index ccaf857..5b642b3 100644 --- a/core/modules/image/config/schema/image.schema.yml +++ b/core/modules/image/config/schema/image.schema.yml @@ -90,9 +90,6 @@ field.image.settings: default_image: type: field_default_image label: 'Default value' - target_type: - type: string - label: 'Type of item to reference' field.image.instance_settings: type: mapping