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 4609363..3ec2bdc 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,7 +7,7 @@ namespace Drupal\field_test\Plugin\field\formatter; -use Drupal\Component\Annotation\Plugin; +use Drupal\field\Annotation\FieldFormatter; use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\EntityInterface; @@ -15,7 +15,7 @@ /** * Plugin implementation of the 'field_test_default' formatter. * - * @Plugin( + * @FieldFormatter( * id = "field_test_default", * module = "field_test", * label = @Translation("Default"), 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 9632420..df71b16 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,7 +7,7 @@ */ namespace Drupal\field_test\Plugin\field\formatter; -use Drupal\Component\Annotation\Plugin; +use Drupal\field\Annotation\FieldFormatter; use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\EntityInterface; use Drupal\field\Plugin\Type\Formatter\FormatterBase; @@ -15,7 +15,7 @@ /** * Plugin implementation of the 'field_empty_test' formatter. * - * @Plugin( + * @FieldFormatter( * id = "field_empty_test", * module = "field_test", * label = @Translation("Field empty test"), 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 bca0395..e75c422 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,7 +7,7 @@ namespace Drupal\field_test\Plugin\field\formatter; -use Drupal\Component\Annotation\Plugin; +use Drupal\field\Annotation\FieldFormatter; use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\EntityInterface; @@ -15,7 +15,7 @@ /** * Plugin implementation of the 'field_test_multiple' formatter. * - * @Plugin( + * @FieldFormatter( * id = "field_test_multiple", * module = "field_test", * label = @Translation("Multiple"), 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 6796143..fc774e7 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,7 +7,7 @@ namespace Drupal\field_test\Plugin\field\formatter; -use Drupal\Component\Annotation\Plugin; +use Drupal\field\Annotation\FieldFormatter; use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\EntityInterface; @@ -15,7 +15,7 @@ /** * Plugin implementation of the 'field_test_with_prepare_view' formatter. * - * @Plugin( + * @FieldFormatter( * id = "field_test_with_prepare_view", * module = "field_test", * label = @Translation("With prepare step"),