diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/field/field_type/CommentItem.php b/core/modules/comment/lib/Drupal/comment/Plugin/field/field_type/CommentItem.php index 432534f..d142593 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/field/field_type/CommentItem.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/field/field_type/CommentItem.php @@ -7,8 +7,6 @@ namespace Drupal\comment\Plugin\field\field_type; -use Drupal\Core\Annotation\Translation; -use Drupal\Core\Entity\Annotation\FieldType; use Drupal\field\FieldInterface; use Drupal\field\Plugin\Type\FieldType\ConfigFieldItemBase; diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/field/formatter/CommentDefaultFormatter.php b/core/modules/comment/lib/Drupal/comment/Plugin/field/formatter/CommentDefaultFormatter.php index 5ae427f..98c89d5 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/field/formatter/CommentDefaultFormatter.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/field/formatter/CommentDefaultFormatter.php @@ -11,8 +11,6 @@ use Drupal\Core\Entity\EntityRenderControllerInterface; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\Core\Session\AccountInterface; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldDefinitionInterface; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/field/widget/CommentWidget.php b/core/modules/comment/lib/Drupal/comment/Plugin/field/widget/CommentWidget.php index dadc51c..b1da3b0 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/field/widget/CommentWidget.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/field/widget/CommentWidget.php @@ -8,8 +8,6 @@ namespace Drupal\comment\Plugin\field\widget; use Drupal\Core\Entity\Field\FieldItemListInterface; -use Drupal\Core\Annotation\Translation; -use Drupal\field\Annotation\FieldWidget; use Drupal\field\Plugin\Type\Widget\WidgetBase; /** diff --git a/core/modules/contact/lib/Drupal/contact/Plugin/views/field/ContactLink.php b/core/modules/contact/lib/Drupal/contact/Plugin/views/field/ContactLink.php index e1943d5..d1eb806 100644 --- a/core/modules/contact/lib/Drupal/contact/Plugin/views/field/ContactLink.php +++ b/core/modules/contact/lib/Drupal/contact/Plugin/views/field/ContactLink.php @@ -8,7 +8,6 @@ namespace Drupal\contact\Plugin\views\field; use Drupal\Core\Entity\EntityInterface; -use Drupal\Component\Annotation\PluginID; use Drupal\user\Plugin\views\field\Link; use Drupal\views\ResultRow; diff --git a/core/modules/datetime/lib/Drupal/datetime/Plugin/field/field_type/DateTimeItem.php b/core/modules/datetime/lib/Drupal/datetime/Plugin/field/field_type/DateTimeItem.php index a0dd13c..724f2c9 100644 --- a/core/modules/datetime/lib/Drupal/datetime/Plugin/field/field_type/DateTimeItem.php +++ b/core/modules/datetime/lib/Drupal/datetime/Plugin/field/field_type/DateTimeItem.php @@ -7,9 +7,7 @@ namespace Drupal\datetime\Plugin\field\field_type; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Datetime\DrupalDateTime; -use Drupal\Core\Entity\Annotation\FieldType; use Drupal\Core\Entity\Field\PrepareCacheInterface; use Drupal\field\FieldInterface; use Drupal\field\Plugin\Type\FieldType\ConfigFieldItemBase; diff --git a/core/modules/datetime/lib/Drupal/datetime/Plugin/field/formatter/DatetimeDefaultFormatter.php b/core/modules/datetime/lib/Drupal/datetime/Plugin/field/formatter/DatetimeDefaultFormatter.php index baabb9c..71315d0 100644 --- a/core/modules/datetime/lib/Drupal/datetime/Plugin/field/formatter/DatetimeDefaultFormatter.php +++ b/core/modules/datetime/lib/Drupal/datetime/Plugin/field/formatter/DatetimeDefaultFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\datetime\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Datetime\Date; use Drupal\Core\Datetime\DrupalDateTime; use Drupal\Core\Entity\EntityStorageControllerInterface; diff --git a/core/modules/datetime/lib/Drupal/datetime/Plugin/field/formatter/DatetimePlainFormatter.php b/core/modules/datetime/lib/Drupal/datetime/Plugin/field/formatter/DatetimePlainFormatter.php index 911d35e..978e007 100644 --- a/core/modules/datetime/lib/Drupal/datetime/Plugin/field/formatter/DatetimePlainFormatter.php +++ b/core/modules/datetime/lib/Drupal/datetime/Plugin/field/formatter/DatetimePlainFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\datetime\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDatelistWidget.php b/core/modules/datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDatelistWidget.php index e835408..7bfd26a 100644 --- a/core/modules/datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDatelistWidget.php +++ b/core/modules/datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDatelistWidget.php @@ -7,8 +7,6 @@ namespace Drupal\datetime\Plugin\field\widget; use Drupal\Core\Entity\Field\FieldItemListInterface; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Widget\WidgetBase; use Drupal\Core\Entity\Field\FieldDefinitionInterface; use Drupal\field\FieldInstanceInterface; diff --git a/core/modules/datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDefaultWidget.php b/core/modules/datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDefaultWidget.php index 2011135..69400d5 100644 --- a/core/modules/datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDefaultWidget.php +++ b/core/modules/datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDefaultWidget.php @@ -7,8 +7,6 @@ namespace Drupal\datetime\Plugin\field\widget; use Drupal\Core\Entity\Field\FieldItemListInterface; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Widget\WidgetBase; use Drupal\Core\Entity\Field\FieldDefinitionInterface; use Drupal\field\FieldInstanceInterface; diff --git a/core/modules/email/lib/Drupal/email/Plugin/field/field_type/ConfigurableEmailItem.php b/core/modules/email/lib/Drupal/email/Plugin/field/field_type/ConfigurableEmailItem.php index b346c4b..2634c35 100644 --- a/core/modules/email/lib/Drupal/email/Plugin/field/field_type/ConfigurableEmailItem.php +++ b/core/modules/email/lib/Drupal/email/Plugin/field/field_type/ConfigurableEmailItem.php @@ -7,8 +7,6 @@ namespace Drupal\email\Plugin\field\field_type; -use Drupal\Core\Entity\Annotation\FieldType; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Plugin\DataType\EmailItem; use Drupal\field\FieldInterface; diff --git a/core/modules/email/lib/Drupal/email/Plugin/field/formatter/MailToFormatter.php b/core/modules/email/lib/Drupal/email/Plugin/field/formatter/MailToFormatter.php index 7af70f1..6c30d27 100644 --- a/core/modules/email/lib/Drupal/email/Plugin/field/formatter/MailToFormatter.php +++ b/core/modules/email/lib/Drupal/email/Plugin/field/formatter/MailToFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\email\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/email/lib/Drupal/email/Plugin/field/widget/EmailDefaultWidget.php b/core/modules/email/lib/Drupal/email/Plugin/field/widget/EmailDefaultWidget.php index a5ec3b4..8735265 100644 --- a/core/modules/email/lib/Drupal/email/Plugin/field/widget/EmailDefaultWidget.php +++ b/core/modules/email/lib/Drupal/email/Plugin/field/widget/EmailDefaultWidget.php @@ -7,8 +7,6 @@ namespace Drupal\email\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\field\Plugin\Type\Widget\WidgetBase; diff --git a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/field_type/ConfigurableEntityReferenceItem.php b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/field_type/ConfigurableEntityReferenceItem.php index 96dbdc3..0f6480f 100644 --- a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/field_type/ConfigurableEntityReferenceItem.php +++ b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/field_type/ConfigurableEntityReferenceItem.php @@ -7,11 +7,7 @@ namespace Drupal\entity_reference\Plugin\field\field_type; -use Drupal\Core\Annotation\Translation; -use Drupal\Core\Entity\Annotation\FieldType; -use Drupal\Core\Entity\Field\Type\EntityReferenceItem; use Drupal\field\Plugin\Type\FieldType\ConfigEntityReferenceItemBase; -use Drupal\field\Plugin\Type\FieldType\ConfigFieldItemBase; use Drupal\field\Plugin\Type\FieldType\ConfigFieldItemInterface; use Drupal\field\FieldInterface; diff --git a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceEntityFormatter.php b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceEntityFormatter.php index 4189d45..30be80f 100644 --- a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceEntityFormatter.php +++ b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceEntityFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\entity_reference\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\entity_reference\RecursiveRenderingException; use Drupal\entity_reference\Plugin\field\formatter\EntityReferenceFormatterBase; diff --git a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceIdFormatter.php b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceIdFormatter.php index 4a64ecd..f06e963 100644 --- a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceIdFormatter.php +++ b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceIdFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\entity_reference\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\entity_reference\Plugin\field\formatter\EntityReferenceFormatterBase; diff --git a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceLabelFormatter.php b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceLabelFormatter.php index 0100e7b..6d9625e 100644 --- a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceLabelFormatter.php +++ b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceLabelFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\entity_reference\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\entity_reference\Plugin\field\formatter\EntityReferenceFormatterBase; diff --git a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteTagsWidget.php b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteTagsWidget.php index 20cb005..7f54d9b 100644 --- a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteTagsWidget.php +++ b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteTagsWidget.php @@ -7,8 +7,6 @@ namespace Drupal\entity_reference\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\entity_reference\Plugin\field\widget\AutocompleteWidgetBase; /** diff --git a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteWidget.php b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteWidget.php index 62d73b6..55063cc 100644 --- a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteWidget.php +++ b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteWidget.php @@ -7,8 +7,6 @@ namespace Drupal\entity_reference\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\entity_reference\Plugin\field\widget\AutocompleteWidgetBase; diff --git a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteWidgetBase.php b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteWidgetBase.php index 42b565f..0428cc4 100644 --- a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteWidgetBase.php +++ b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteWidgetBase.php @@ -7,8 +7,6 @@ namespace Drupal\entity_reference\Plugin\field\widget; -use Drupal\Component\Annotation\Plugin; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\field\Plugin\Type\Widget\WidgetBase; use Symfony\Component\Validator\ConstraintViolationInterface; diff --git a/core/modules/field/field.deprecated.inc b/core/modules/field/field.deprecated.inc index 6f4a643..f1c5890 100644 --- a/core/modules/field/field.deprecated.inc +++ b/core/modules/field/field.deprecated.inc @@ -7,8 +7,6 @@ use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Entity\ContentEntityInterface; -use Drupal\Core\Entity\Field\PrepareCacheInterface; -use Drupal\Core\Language\Language; use Drupal\entity\Entity\EntityDisplay; use Drupal\field\Field; diff --git a/core/modules/field/field.info.inc b/core/modules/field/field.info.inc index 94b036e..338dd08 100644 --- a/core/modules/field/field.info.inc +++ b/core/modules/field/field.info.inc @@ -5,10 +5,7 @@ * Field Info API, providing information about available fields and field types. */ -use Drupal\Core\Cache\CacheBackendInterface; -use Drupal\Core\Language\Language; use Drupal\field\Field; -use Drupal\field\FieldInstanceInterface; /** * @defgroup field_info Field Info API diff --git a/core/modules/field/lib/Drupal/field/Entity/Field.php b/core/modules/field/lib/Drupal/field/Entity/Field.php index 463f5cb..4496e16 100644 --- a/core/modules/field/lib/Drupal/field/Entity/Field.php +++ b/core/modules/field/lib/Drupal/field/Entity/Field.php @@ -8,8 +8,6 @@ namespace Drupal\field\Entity; use Drupal\Component\Utility\Unicode; -use Drupal\Core\Entity\Annotation\EntityType; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Config\Entity\ConfigEntityBase; use Drupal\Core\Entity\EntityInterface; use Drupal\field\FieldException; diff --git a/core/modules/field/lib/Drupal/field/Entity/FieldInstance.php b/core/modules/field/lib/Drupal/field/Entity/FieldInstance.php index d038977..dea4c95 100644 --- a/core/modules/field/lib/Drupal/field/Entity/FieldInstance.php +++ b/core/modules/field/lib/Drupal/field/Entity/FieldInstance.php @@ -7,9 +7,6 @@ namespace Drupal\field\Entity; -use Drupal\Component\Utility\String; -use Drupal\Core\Entity\Annotation\EntityType; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Config\Entity\ConfigEntityBase; use Drupal\Core\Entity\EntityInterface; use Drupal\field\FieldException; diff --git a/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterBase.php b/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterBase.php index dae5ce2..791e7c2 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterBase.php +++ b/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterBase.php @@ -9,7 +9,6 @@ use Drupal\Core\Entity\Field\FieldDefinitionInterface; use Drupal\Core\Entity\Field\FieldItemListInterface; -use Drupal\field\FieldInstanceInterface; use Drupal\field\Plugin\PluginSettingsBase; /** diff --git a/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterPluginManager.php b/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterPluginManager.php index f663959..7132d03 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterPluginManager.php +++ b/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterPluginManager.php @@ -7,17 +7,12 @@ namespace Drupal\field\Plugin\Type\Formatter; -use Drupal\Component\Plugin\PluginManagerBase; use Drupal\Component\Plugin\Factory\DefaultFactory; use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Entity\Field\FieldTypePluginManager; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Language\LanguageManager; use Drupal\Core\Plugin\DefaultPluginManager; -use Drupal\Core\Plugin\Discovery\CacheDecorator; -use Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery; -use Drupal\Core\Plugin\Discovery\AlterDecorator; -use Drupal\field\Entity\FieldInstance; /** * Plugin type manager for field formatters. diff --git a/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetPluginManager.php b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetPluginManager.php index 5559e8a..71f197d 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetPluginManager.php +++ b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetPluginManager.php @@ -8,16 +8,11 @@ namespace Drupal\field\Plugin\Type\Widget; use Drupal\Component\Plugin\Factory\DefaultFactory; -use Drupal\Component\Plugin\PluginManagerBase; -use Drupal\Component\Plugin\Discovery\ProcessDecorator; use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Entity\Field\FieldTypePluginManager; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Language\LanguageManager; use Drupal\Core\Plugin\DefaultPluginManager; -use Drupal\Core\Plugin\Discovery\CacheDecorator; -use Drupal\Core\Plugin\Discovery\AlterDecorator; -use Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery; /** * Plugin type manager for field widgets. diff --git a/core/modules/field/lib/Drupal/field/Plugin/field/widget/HiddenWidget.php b/core/modules/field/lib/Drupal/field/Plugin/field/widget/HiddenWidget.php index 8f03bc5..08b8d16 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/field/widget/HiddenWidget.php +++ b/core/modules/field/lib/Drupal/field/Plugin/field/widget/HiddenWidget.php @@ -7,8 +7,6 @@ namespace Drupal\field\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\field\Plugin\Type\Widget\WidgetBase; diff --git a/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldDefaultFormatter.php b/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldDefaultFormatter.php index 3041b30..66d30ef 100644 --- a/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldDefaultFormatter.php +++ b/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldDefaultFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\field_test\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldEmptyFormatter.php b/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldEmptyFormatter.php index 1d38d7a..cbe79cf 100644 --- a/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldEmptyFormatter.php +++ b/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldEmptyFormatter.php @@ -7,8 +7,6 @@ */ namespace Drupal\field_test\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\field\Plugin\Type\Formatter\FormatterBase; diff --git a/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldMultipleFormatter.php b/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldMultipleFormatter.php index 0508002..feed742 100644 --- a/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldMultipleFormatter.php +++ b/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldMultipleFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\field_test\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldPrepareViewFormatter.php b/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldPrepareViewFormatter.php index 46063a5..1d36638 100644 --- a/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldPrepareViewFormatter.php +++ b/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldPrepareViewFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\field_test\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/widget/TestFieldWidget.php b/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/widget/TestFieldWidget.php index de94c08..bb0d494 100644 --- a/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/widget/TestFieldWidget.php +++ b/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/widget/TestFieldWidget.php @@ -7,8 +7,6 @@ namespace Drupal\field_test\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\field\Plugin\Type\Widget\WidgetBase; use Symfony\Component\Validator\ConstraintViolationInterface; diff --git a/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/widget/TestFieldWidgetMultiple.php b/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/widget/TestFieldWidgetMultiple.php index 0b9a73c..7365a4c 100644 --- a/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/widget/TestFieldWidgetMultiple.php +++ b/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/widget/TestFieldWidgetMultiple.php @@ -7,9 +7,6 @@ namespace Drupal\field_test\Plugin\field\widget; - -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\field\Plugin\Type\Widget\WidgetBase; use Symfony\Component\Validator\ConstraintViolationInterface; @@ -17,7 +14,8 @@ /** * Plugin implementation of the 'test_field_widget_multiple' widget. * - * The 'field_types' entry is left empty, and is populated through hook_field_widget_info_alter(). + * The 'field_types' entry is left empty, and is populated through + * hook_field_widget_info_alter(). * * @see field_test_field_widget_info_alter() * diff --git a/core/modules/field_ui/lib/Drupal/field_ui/Form/FieldEditForm.php b/core/modules/field_ui/lib/Drupal/field_ui/Form/FieldEditForm.php index 337fdce..c52d065 100644 --- a/core/modules/field_ui/lib/Drupal/field_ui/Form/FieldEditForm.php +++ b/core/modules/field_ui/lib/Drupal/field_ui/Form/FieldEditForm.php @@ -7,7 +7,6 @@ namespace Drupal\field_ui\Form; -use Drupal\Core\Entity\ContentEntityInterface; use Drupal\Core\Entity\EntityManager; use Drupal\Core\Form\FormBase; use Drupal\Core\TypedData\TypedDataManager; diff --git a/core/modules/file/lib/Drupal/file/Plugin/field/field_type/FileItem.php b/core/modules/file/lib/Drupal/file/Plugin/field/field_type/FileItem.php index fc6be34..d2f78ad 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/field/field_type/FileItem.php +++ b/core/modules/file/lib/Drupal/file/Plugin/field/field_type/FileItem.php @@ -7,8 +7,6 @@ namespace Drupal\file\Plugin\field\field_type; -use Drupal\Core\Annotation\Translation; -use Drupal\Core\Entity\Annotation\FieldType; use Drupal\Core\Entity\Plugin\DataType\EntityReferenceItem; use Drupal\field\FieldInterface; use Drupal\field\Plugin\Type\FieldType\ConfigFieldItemInterface; diff --git a/core/modules/file/lib/Drupal/file/Plugin/field/formatter/GenericFileFormatter.php b/core/modules/file/lib/Drupal/file/Plugin/field/formatter/GenericFileFormatter.php index 30d7e12..a6749e1 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/field/formatter/GenericFileFormatter.php +++ b/core/modules/file/lib/Drupal/file/Plugin/field/formatter/GenericFileFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\file\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; /** diff --git a/core/modules/file/lib/Drupal/file/Plugin/field/formatter/RSSEnclosureFormatter.php b/core/modules/file/lib/Drupal/file/Plugin/field/formatter/RSSEnclosureFormatter.php index d23e98a..7fff5b4 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/field/formatter/RSSEnclosureFormatter.php +++ b/core/modules/file/lib/Drupal/file/Plugin/field/formatter/RSSEnclosureFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\file\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; /** diff --git a/core/modules/file/lib/Drupal/file/Plugin/field/formatter/TableFormatter.php b/core/modules/file/lib/Drupal/file/Plugin/field/formatter/TableFormatter.php index 8405411..5a33979 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/field/formatter/TableFormatter.php +++ b/core/modules/file/lib/Drupal/file/Plugin/field/formatter/TableFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\file\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; /** diff --git a/core/modules/file/lib/Drupal/file/Plugin/field/formatter/UrlPlainFormatter.php b/core/modules/file/lib/Drupal/file/Plugin/field/formatter/UrlPlainFormatter.php index 21c32f9..7fd192e 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/field/formatter/UrlPlainFormatter.php +++ b/core/modules/file/lib/Drupal/file/Plugin/field/formatter/UrlPlainFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\file\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; /** diff --git a/core/modules/file/lib/Drupal/file/Plugin/field/widget/FileWidget.php b/core/modules/file/lib/Drupal/file/Plugin/field/widget/FileWidget.php index 01f4aec..b0ed274 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/field/widget/FileWidget.php +++ b/core/modules/file/lib/Drupal/file/Plugin/field/widget/FileWidget.php @@ -7,8 +7,6 @@ namespace Drupal\file\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Widget\WidgetBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/image/lib/Drupal/image/Plugin/field/field_type/ImageItem.php b/core/modules/image/lib/Drupal/image/Plugin/field/field_type/ImageItem.php index d2fdfe3..9fddddd 100644 --- a/core/modules/image/lib/Drupal/image/Plugin/field/field_type/ImageItem.php +++ b/core/modules/image/lib/Drupal/image/Plugin/field/field_type/ImageItem.php @@ -7,8 +7,6 @@ namespace Drupal\image\Plugin\field\field_type; -use Drupal\Core\Annotation\Translation; -use Drupal\Core\Entity\Annotation\FieldType; use Drupal\field\FieldInterface; use Drupal\file\Plugin\field\field_type\FileItem; diff --git a/core/modules/image/lib/Drupal/image/Plugin/field/formatter/ImageFormatter.php b/core/modules/image/lib/Drupal/image/Plugin/field/formatter/ImageFormatter.php index 8659511..463dc17 100644 --- a/core/modules/image/lib/Drupal/image/Plugin/field/formatter/ImageFormatter.php +++ b/core/modules/image/lib/Drupal/image/Plugin/field/formatter/ImageFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\image\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; /** diff --git a/core/modules/image/lib/Drupal/image/Plugin/field/widget/ImageWidget.php b/core/modules/image/lib/Drupal/image/Plugin/field/widget/ImageWidget.php index f3b5555..9a25789 100644 --- a/core/modules/image/lib/Drupal/image/Plugin/field/widget/ImageWidget.php +++ b/core/modules/image/lib/Drupal/image/Plugin/field/widget/ImageWidget.php @@ -7,8 +7,6 @@ namespace Drupal\image\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\file\Plugin\field\widget\FileWidget; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/link/lib/Drupal/link/Plugin/field/field_type/LinkItem.php b/core/modules/link/lib/Drupal/link/Plugin/field/field_type/LinkItem.php index 1fd42df..3b23d94 100644 --- a/core/modules/link/lib/Drupal/link/Plugin/field/field_type/LinkItem.php +++ b/core/modules/link/lib/Drupal/link/Plugin/field/field_type/LinkItem.php @@ -7,8 +7,6 @@ namespace Drupal\link\Plugin\field\field_type; -use Drupal\Core\Entity\Annotation\FieldType; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\FieldType\ConfigFieldItemBase; use Drupal\field\FieldInterface; diff --git a/core/modules/link/lib/Drupal/link/Plugin/field/formatter/LinkFormatter.php b/core/modules/link/lib/Drupal/link/Plugin/field/formatter/LinkFormatter.php index 0c8be66..8600459 100644 --- a/core/modules/link/lib/Drupal/link/Plugin/field/formatter/LinkFormatter.php +++ b/core/modules/link/lib/Drupal/link/Plugin/field/formatter/LinkFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\link\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Component\Utility\Url; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\Core\Entity\Field\FieldItemInterface; diff --git a/core/modules/link/lib/Drupal/link/Plugin/field/formatter/LinkSeparateFormatter.php b/core/modules/link/lib/Drupal/link/Plugin/field/formatter/LinkSeparateFormatter.php index 4674533..faeb1ca 100644 --- a/core/modules/link/lib/Drupal/link/Plugin/field/formatter/LinkSeparateFormatter.php +++ b/core/modules/link/lib/Drupal/link/Plugin/field/formatter/LinkSeparateFormatter.php @@ -12,8 +12,6 @@ namespace Drupal\link\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; /** diff --git a/core/modules/link/lib/Drupal/link/Plugin/field/widget/LinkWidget.php b/core/modules/link/lib/Drupal/link/Plugin/field/widget/LinkWidget.php index 6f6c295..142b50e 100644 --- a/core/modules/link/lib/Drupal/link/Plugin/field/widget/LinkWidget.php +++ b/core/modules/link/lib/Drupal/link/Plugin/field/widget/LinkWidget.php @@ -7,8 +7,6 @@ namespace Drupal\link\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\field\Plugin\Type\Widget\WidgetBase; diff --git a/core/modules/number/lib/Drupal/number/Plugin/field/field_type/DecimalItem.php b/core/modules/number/lib/Drupal/number/Plugin/field/field_type/DecimalItem.php index 9271899..fbfa3eb 100644 --- a/core/modules/number/lib/Drupal/number/Plugin/field/field_type/DecimalItem.php +++ b/core/modules/number/lib/Drupal/number/Plugin/field/field_type/DecimalItem.php @@ -7,8 +7,6 @@ namespace Drupal\number\Plugin\field\field_type; -use Drupal\Core\Entity\Annotation\FieldType; -use Drupal\Core\Annotation\Translation; use Drupal\field\FieldInterface; use Drupal\Component\Utility\MapArray; diff --git a/core/modules/number/lib/Drupal/number/Plugin/field/field_type/FloatItem.php b/core/modules/number/lib/Drupal/number/Plugin/field/field_type/FloatItem.php index 7a9850b..a05a58d 100644 --- a/core/modules/number/lib/Drupal/number/Plugin/field/field_type/FloatItem.php +++ b/core/modules/number/lib/Drupal/number/Plugin/field/field_type/FloatItem.php @@ -7,8 +7,6 @@ namespace Drupal\number\Plugin\field\field_type; -use Drupal\Core\Entity\Annotation\FieldType; -use Drupal\Core\Annotation\Translation; use Drupal\field\FieldInterface; /** diff --git a/core/modules/number/lib/Drupal/number/Plugin/field/field_type/IntegerItem.php b/core/modules/number/lib/Drupal/number/Plugin/field/field_type/IntegerItem.php index e7087bd..6fa7ae8 100644 --- a/core/modules/number/lib/Drupal/number/Plugin/field/field_type/IntegerItem.php +++ b/core/modules/number/lib/Drupal/number/Plugin/field/field_type/IntegerItem.php @@ -7,8 +7,6 @@ namespace Drupal\number\Plugin\field\field_type; -use Drupal\Core\Entity\Annotation\FieldType; -use Drupal\Core\Annotation\Translation; use Drupal\field\FieldInterface; /** diff --git a/core/modules/number/lib/Drupal/number/Plugin/field/formatter/DefaultNumberFormatter.php b/core/modules/number/lib/Drupal/number/Plugin/field/formatter/DefaultNumberFormatter.php index 7cc14e5..6cec0a6 100644 --- a/core/modules/number/lib/Drupal/number/Plugin/field/formatter/DefaultNumberFormatter.php +++ b/core/modules/number/lib/Drupal/number/Plugin/field/formatter/DefaultNumberFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\number\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/number/lib/Drupal/number/Plugin/field/formatter/NumberDecimalFormatter.php b/core/modules/number/lib/Drupal/number/Plugin/field/formatter/NumberDecimalFormatter.php index 635cfc1..8cb6712 100644 --- a/core/modules/number/lib/Drupal/number/Plugin/field/formatter/NumberDecimalFormatter.php +++ b/core/modules/number/lib/Drupal/number/Plugin/field/formatter/NumberDecimalFormatter.php @@ -7,12 +7,7 @@ namespace Drupal\number\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; -use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\number\Plugin\field\formatter\DefaultNumberFormatter; -use Drupal\Core\Entity\EntityInterface; -use Drupal\Core\Entity\Field\FieldItemListInterface; /** * Plugin implementation of the 'number_decimal' formatter. diff --git a/core/modules/number/lib/Drupal/number/Plugin/field/formatter/NumberIntegerFormatter.php b/core/modules/number/lib/Drupal/number/Plugin/field/formatter/NumberIntegerFormatter.php index 0fe1838..1c6538c 100644 --- a/core/modules/number/lib/Drupal/number/Plugin/field/formatter/NumberIntegerFormatter.php +++ b/core/modules/number/lib/Drupal/number/Plugin/field/formatter/NumberIntegerFormatter.php @@ -7,12 +7,7 @@ namespace Drupal\number\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; -use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\number\Plugin\field\formatter\DefaultNumberFormatter; -use Drupal\Core\Entity\EntityInterface; -use Drupal\Core\Entity\Field\FieldItemListInterface; /** * Plugin implementation of the 'number_integer' formatter. diff --git a/core/modules/number/lib/Drupal/number/Plugin/field/formatter/NumberUnformattedFormatter.php b/core/modules/number/lib/Drupal/number/Plugin/field/formatter/NumberUnformattedFormatter.php index 4e7eb76..e9ec772 100644 --- a/core/modules/number/lib/Drupal/number/Plugin/field/formatter/NumberUnformattedFormatter.php +++ b/core/modules/number/lib/Drupal/number/Plugin/field/formatter/NumberUnformattedFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\number\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/number/lib/Drupal/number/Plugin/field/widget/NumberWidget.php b/core/modules/number/lib/Drupal/number/Plugin/field/widget/NumberWidget.php index 49cb2e6..cdf2806 100644 --- a/core/modules/number/lib/Drupal/number/Plugin/field/widget/NumberWidget.php +++ b/core/modules/number/lib/Drupal/number/Plugin/field/widget/NumberWidget.php @@ -7,8 +7,6 @@ namespace Drupal\number\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\field\Plugin\Type\Widget\WidgetBase; use Symfony\Component\Validator\ConstraintViolationInterface; diff --git a/core/modules/options/lib/Drupal/options/Plugin/field/formatter/OptionsDefaultFormatter.php b/core/modules/options/lib/Drupal/options/Plugin/field/formatter/OptionsDefaultFormatter.php index 5ff8c64..a4ac150 100644 --- a/core/modules/options/lib/Drupal/options/Plugin/field/formatter/OptionsDefaultFormatter.php +++ b/core/modules/options/lib/Drupal/options/Plugin/field/formatter/OptionsDefaultFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\options\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/options/lib/Drupal/options/Plugin/field/formatter/OptionsKeyFormatter.php b/core/modules/options/lib/Drupal/options/Plugin/field/formatter/OptionsKeyFormatter.php index 4b80566..0c31bda 100644 --- a/core/modules/options/lib/Drupal/options/Plugin/field/formatter/OptionsKeyFormatter.php +++ b/core/modules/options/lib/Drupal/options/Plugin/field/formatter/OptionsKeyFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\options\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/options/lib/Drupal/options/Plugin/field/widget/ButtonsWidget.php b/core/modules/options/lib/Drupal/options/Plugin/field/widget/ButtonsWidget.php index f6d1263..75b2904 100644 --- a/core/modules/options/lib/Drupal/options/Plugin/field/widget/ButtonsWidget.php +++ b/core/modules/options/lib/Drupal/options/Plugin/field/widget/ButtonsWidget.php @@ -7,8 +7,6 @@ namespace Drupal\options\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; /** diff --git a/core/modules/options/lib/Drupal/options/Plugin/field/widget/OnOffWidget.php b/core/modules/options/lib/Drupal/options/Plugin/field/widget/OnOffWidget.php index 5d7e6e8..31c9183 100644 --- a/core/modules/options/lib/Drupal/options/Plugin/field/widget/OnOffWidget.php +++ b/core/modules/options/lib/Drupal/options/Plugin/field/widget/OnOffWidget.php @@ -7,8 +7,6 @@ namespace Drupal\options\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; /** diff --git a/core/modules/options/lib/Drupal/options/Plugin/field/widget/SelectWidget.php b/core/modules/options/lib/Drupal/options/Plugin/field/widget/SelectWidget.php index 3a37aeb..47e96b4 100644 --- a/core/modules/options/lib/Drupal/options/Plugin/field/widget/SelectWidget.php +++ b/core/modules/options/lib/Drupal/options/Plugin/field/widget/SelectWidget.php @@ -7,8 +7,6 @@ namespace Drupal\options\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; /** diff --git a/core/modules/picture/lib/Drupal/picture/Plugin/field/formatter/PictureFormatter.php b/core/modules/picture/lib/Drupal/picture/Plugin/field/formatter/PictureFormatter.php index c7d0302..f8b2278 100644 --- a/core/modules/picture/lib/Drupal/picture/Plugin/field/formatter/PictureFormatter.php +++ b/core/modules/picture/lib/Drupal/picture/Plugin/field/formatter/PictureFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\picture\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\image\Plugin\field\formatter\ImageFormatterBase; diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/EntityReferenceTaxonomyTermRssFormatter.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/EntityReferenceTaxonomyTermRssFormatter.php index 10eb66d..65fae9b 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/EntityReferenceTaxonomyTermRssFormatter.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/EntityReferenceTaxonomyTermRssFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\taxonomy\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\entity_reference\Plugin\field\formatter\EntityReferenceFormatterBase; diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/LinkFormatter.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/LinkFormatter.php index 60e79ef..d1ca287 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/LinkFormatter.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/LinkFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\taxonomy\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\taxonomy\Plugin\field\formatter\TaxonomyFormatterBase; diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/PlainFormatter.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/PlainFormatter.php index d383ad0..3513d12 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/PlainFormatter.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/PlainFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\taxonomy\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\taxonomy\Plugin\field\formatter\TaxonomyFormatterBase; diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/RSSCategoryFormatter.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/RSSCategoryFormatter.php index 6885c44..6d86b89 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/RSSCategoryFormatter.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/RSSCategoryFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\taxonomy\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\taxonomy\Plugin\field\formatter\TaxonomyFormatterBase; diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/TaxonomyFormatterBase.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/TaxonomyFormatterBase.php index 396aca8..0ca7d37 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/TaxonomyFormatterBase.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/TaxonomyFormatterBase.php @@ -7,9 +7,6 @@ namespace Drupal\taxonomy\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; -use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\field\Plugin\Type\Formatter\FormatterBase; /** diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/widget/TaxonomyAutocompleteWidget.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/widget/TaxonomyAutocompleteWidget.php index 90d7b1d..59cdfe5 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/widget/TaxonomyAutocompleteWidget.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/widget/TaxonomyAutocompleteWidget.php @@ -7,8 +7,6 @@ namespace Drupal\taxonomy\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\field\Plugin\Type\Widget\WidgetBase; diff --git a/core/modules/telephone/lib/Drupal/telephone/Plugin/field/field_type/TelephoneItem.php b/core/modules/telephone/lib/Drupal/telephone/Plugin/field/field_type/TelephoneItem.php index efe2bcf..1e1537c 100644 --- a/core/modules/telephone/lib/Drupal/telephone/Plugin/field/field_type/TelephoneItem.php +++ b/core/modules/telephone/lib/Drupal/telephone/Plugin/field/field_type/TelephoneItem.php @@ -7,8 +7,6 @@ namespace Drupal\telephone\Plugin\field\field_type; -use Drupal\Core\Entity\Annotation\FieldType; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\FieldType\ConfigFieldItemBase; use Drupal\field\FieldInterface; diff --git a/core/modules/telephone/lib/Drupal/telephone/Plugin/field/formatter/TelephoneLinkFormatter.php b/core/modules/telephone/lib/Drupal/telephone/Plugin/field/formatter/TelephoneLinkFormatter.php index bad13e0..dfbb3cd 100644 --- a/core/modules/telephone/lib/Drupal/telephone/Plugin/field/formatter/TelephoneLinkFormatter.php +++ b/core/modules/telephone/lib/Drupal/telephone/Plugin/field/formatter/TelephoneLinkFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\telephone\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/telephone/lib/Drupal/telephone/Plugin/field/widget/TelephoneDefaultWidget.php b/core/modules/telephone/lib/Drupal/telephone/Plugin/field/widget/TelephoneDefaultWidget.php index 4cf4f4a..a5294d4 100644 --- a/core/modules/telephone/lib/Drupal/telephone/Plugin/field/widget/TelephoneDefaultWidget.php +++ b/core/modules/telephone/lib/Drupal/telephone/Plugin/field/widget/TelephoneDefaultWidget.php @@ -7,8 +7,6 @@ namespace Drupal\telephone\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\field\Plugin\Type\Widget\WidgetBase; diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextItem.php b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextItem.php index 644a2a9..eaf8eb3 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextItem.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextItem.php @@ -7,8 +7,6 @@ namespace Drupal\text\Plugin\field\field_type; -use Drupal\Core\Entity\Annotation\FieldType; -use Drupal\Core\Annotation\Translation; use Drupal\field\FieldInterface; /** diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextLongItem.php b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextLongItem.php index 5531890..b2b5def 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextLongItem.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextLongItem.php @@ -7,8 +7,6 @@ namespace Drupal\text\Plugin\field\field_type; -use Drupal\Core\Entity\Annotation\FieldType; -use Drupal\Core\Annotation\Translation; use Drupal\field\FieldInterface; /** diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextWithSummaryItem.php b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextWithSummaryItem.php index 8d5c9fb..b9ed444 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextWithSummaryItem.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextWithSummaryItem.php @@ -7,8 +7,6 @@ namespace Drupal\text\Plugin\field\field_type; -use Drupal\Core\Entity\Annotation\FieldType; -use Drupal\Core\Annotation\Translation; use Drupal\field\FieldInterface; /** diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextDefaultFormatter.php b/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextDefaultFormatter.php index 89ab7fc..62005b7 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextDefaultFormatter.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextDefaultFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\text\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextPlainFormatter.php b/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextPlainFormatter.php index caebc5b..0635472 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextPlainFormatter.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextPlainFormatter.php @@ -7,8 +7,6 @@ namespace Drupal\text\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextSummaryOrTrimmedFormatter.php b/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextSummaryOrTrimmedFormatter.php index 12f03fc..18197a8 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextSummaryOrTrimmedFormatter.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextSummaryOrTrimmedFormatter.php @@ -7,9 +7,6 @@ */ namespace Drupal\text\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; - /** * Plugin implementation of the 'text_summary_or_trimmed' formatter. * diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextTrimmedFormatter.php b/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextTrimmedFormatter.php index 7e409ae..0597dda 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextTrimmedFormatter.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextTrimmedFormatter.php @@ -7,8 +7,6 @@ */ namespace Drupal\text\Plugin\field\formatter; -use Drupal\field\Annotation\FieldFormatter; -use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/widget/TextareaWidget.php b/core/modules/text/lib/Drupal/text/Plugin/field/widget/TextareaWidget.php index 67c6fb5..b4e9f7f 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/widget/TextareaWidget.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/widget/TextareaWidget.php @@ -7,8 +7,6 @@ namespace Drupal\text\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\field\Plugin\Type\Widget\WidgetBase; use Symfony\Component\Validator\ConstraintViolationInterface; diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/widget/TextareaWithSummaryWidget.php b/core/modules/text/lib/Drupal/text/Plugin/field/widget/TextareaWithSummaryWidget.php index 2e1bdd3..b5745ca 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/widget/TextareaWithSummaryWidget.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/widget/TextareaWithSummaryWidget.php @@ -7,8 +7,6 @@ namespace Drupal\text\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Symfony\Component\Validator\ConstraintViolationInterface; use Drupal\Core\Entity\Field\FieldItemListInterface; diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/widget/TextfieldWidget.php b/core/modules/text/lib/Drupal/text/Plugin/field/widget/TextfieldWidget.php index bcc1031..c01cbed 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/widget/TextfieldWidget.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/widget/TextfieldWidget.php @@ -7,8 +7,6 @@ namespace Drupal\text\Plugin\field\widget; -use Drupal\field\Annotation\FieldWidget; -use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldItemListInterface; use Drupal\field\Plugin\Type\Widget\WidgetBase; use Symfony\Component\Validator\ConstraintViolationInterface;