diff --cc core/modules/taxonomy/taxonomy.module index 72222aa,7efe333..0000000 --- a/core/modules/taxonomy/taxonomy.module +++ b/core/modules/taxonomy/taxonomy.module diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Field/FieldType/TaxonomyTermReferenceFieldItemList.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Field/FieldType/TaxonomyTermReferenceFieldItemList.php index 096a452..53c5764 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Field/FieldType/TaxonomyTermReferenceFieldItemList.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Field/FieldType/TaxonomyTermReferenceFieldItemList.php @@ -7,12 +7,12 @@ namespace Drupal\taxonomy\Plugin\Field\FieldType; -use Drupal\Core\Field\Plugin\Field\FieldType\LegacyConfigFieldItemList; +use Drupal\Core\Field\ConfigFieldItemList; /** - * Represents a configurable taxonomy_term_reference entity field. + * Represents a configurable taxonomy_term_reference entity field item list. */ -class TaxonomyTermReferenceFieldItemList extends LegacyConfigFieldItemList { +class TaxonomyTermReferenceFieldItemList extends ConfigFieldItemList { /** * {@inheritdoc} diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Field/FieldType/TaxonomyTermReferenceItem.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Field/FieldType/TaxonomyTermReferenceItem.php index 3017245..3d186fc 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Field/FieldType/TaxonomyTermReferenceItem.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Field/FieldType/TaxonomyTermReferenceItem.php @@ -34,7 +34,8 @@ * }, * instance_settings = { }, * default_widget = "options_select", - * default_formatter = "taxonomy_term_reference_link" + * default_formatter = "taxonomy_term_reference_link", + * list_class = "\Drupal\taxonomy\Plugin\Field\FieldType\TaxonomyTermReferenceFieldItemList" * ) */ class TaxonomyTermReferenceItem extends ConfigEntityReferenceItemBase implements ConfigFieldItemInterface, AllowedValuesInterface {