diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php index 09fa8ec0b0993f7116fe7d3db4e72804273d37cc..8474b99eee91aaa3f08142c4bd3b2aa50839bdd3 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php @@ -8,7 +8,6 @@ use Drupal\Core\Field\FieldItemListInterface; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Logger\LoggerChannelFactoryInterface; -use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Symfony\Component\DependencyInjection\ContainerInterface; /** @@ -23,7 +22,7 @@ * } * ) */ -class EntityReferenceEntityFormatter extends EntityReferenceFormatterBase implements ContainerFactoryPluginInterface { +class EntityReferenceEntityFormatter extends EntityReferenceFormatterBase { /** * The number of times this formatter allows rendering the same entity. diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php index ef2f43c283e9edf302c369e5e41e70c98ff5c2ef..47c2fc08c4f859bda9a75b6fa84ff793344c4de9 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php @@ -9,7 +9,6 @@ use Drupal\Core\Field\FormatterBase; use Drupal\Core\Field\FieldItemListInterface; use Drupal\Core\Form\FormStateInterface; -use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Symfony\Component\DependencyInjection\ContainerInterface; /** @@ -27,7 +26,7 @@ * } * ) */ -class StringFormatter extends FormatterBase implements ContainerFactoryPluginInterface { +class StringFormatter extends FormatterBase { /** * The entity type manager. diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php index e4c3d9171e2ecf7655c7f07293fda33a5bbb5443..c5b39942b3f71b834bf848e743a4d0f09d278e26 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php @@ -10,7 +10,6 @@ use Drupal\Core\Field\FieldItemListInterface; use Drupal\Core\Field\FormatterBase; use Drupal\Core\Form\FormStateInterface; -use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\Request; @@ -27,7 +26,7 @@ * } * ) */ -class TimestampAgoFormatter extends FormatterBase implements ContainerFactoryPluginInterface { +class TimestampAgoFormatter extends FormatterBase { /** * The date formatter service. diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php index cbc6d7ddd55acf9a0b34887f2bff2641b0f4c479..deb1e1aca3665365b697d78a615418ef76b342d8 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php @@ -8,7 +8,6 @@ use Drupal\Core\Field\FieldItemListInterface; use Drupal\Core\Field\FormatterBase; use Drupal\Core\Form\FormStateInterface; -use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Symfony\Component\DependencyInjection\ContainerInterface; /** @@ -24,7 +23,7 @@ * } * ) */ -class TimestampFormatter extends FormatterBase implements ContainerFactoryPluginInterface { +class TimestampFormatter extends FormatterBase { /** * The date formatter service. diff --git a/core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php b/core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php index c89a48c341fecd100d75068a23d5230fb3c682d1..35ce99b7ebe49be48845fe3befdffe89f4f48187 100644 --- a/core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php +++ b/core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php @@ -12,7 +12,6 @@ use Drupal\Core\Session\AccountInterface; use Drupal\Core\Field\FieldDefinitionInterface; use Drupal\Core\Field\FormatterBase; -use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\Core\Routing\RouteMatchInterface; use Symfony\Component\DependencyInjection\ContainerInterface; @@ -31,7 +30,7 @@ * } * ) */ -class CommentDefaultFormatter extends FormatterBase implements ContainerFactoryPluginInterface { +class CommentDefaultFormatter extends FormatterBase { /** * {@inheritdoc} diff --git a/core/modules/content_moderation/src/Plugin/Field/FieldFormatter/ContentModerationStateFormatter.php b/core/modules/content_moderation/src/Plugin/Field/FieldFormatter/ContentModerationStateFormatter.php index 5d4c2b7bf6ab312e7283a52a0e09dccadc5f06f0..3a3c5c6409a4df0a064c2d02b6f45d3160e9fd9b 100644 --- a/core/modules/content_moderation/src/Plugin/Field/FieldFormatter/ContentModerationStateFormatter.php +++ b/core/modules/content_moderation/src/Plugin/Field/FieldFormatter/ContentModerationStateFormatter.php @@ -6,7 +6,6 @@ use Drupal\Core\Field\FieldDefinitionInterface; use Drupal\Core\Field\FormatterBase; use Drupal\Core\Field\FieldItemListInterface; -use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Symfony\Component\DependencyInjection\ContainerInterface; /** @@ -20,7 +19,7 @@ * } * ) */ -class ContentModerationStateFormatter extends FormatterBase implements ContainerFactoryPluginInterface { +class ContentModerationStateFormatter extends FormatterBase { /** * The moderation information service. diff --git a/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php b/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php index 272cb9ea1ec1c033c533e5a05c7777340ad5972b..c7b66c70824fe06ef4c0b1f1e5fb2c02db6d1653 100644 --- a/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php +++ b/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php @@ -9,7 +9,6 @@ use Drupal\Core\Field\FieldItemListInterface; use Drupal\Core\Field\FormatterBase; use Drupal\Core\Form\FormStateInterface; -use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\datetime\Plugin\Field\FieldType\DateTimeItem; use Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface; use Symfony\Component\DependencyInjection\ContainerInterface; @@ -17,7 +16,7 @@ /** * Base class for 'DateTime Field formatter' plugin implementations. */ -abstract class DateTimeFormatterBase extends FormatterBase implements ContainerFactoryPluginInterface { +abstract class DateTimeFormatterBase extends FormatterBase { /** * The date formatter service. diff --git a/core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php b/core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php index ee99b0f87b59f95570395f80eebe0b36297b7c33..e350e53529ce5b16e0759ac742f49e456f822651 100644 --- a/core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php +++ b/core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php @@ -6,7 +6,6 @@ use Drupal\Core\Field\FieldItemListInterface; use Drupal\Core\Field\FieldDefinitionInterface; use Drupal\Core\Link; -use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\Core\Session\AccountInterface; use Drupal\Core\Url; use Drupal\image\Entity\ImageStyle; @@ -28,7 +27,7 @@ * } * ) */ -class ImageFormatter extends ImageFormatterBase implements ContainerFactoryPluginInterface { +class ImageFormatter extends ImageFormatterBase { /** * The current user. diff --git a/core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php b/core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php index b0928b0db000f33d5c502684a505272b0c180baa..83f1a2f27053a046ccf5923b3faff2871aaa443e 100644 --- a/core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php +++ b/core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php @@ -8,7 +8,6 @@ use Drupal\Core\Field\FormatterBase; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Path\PathValidatorInterface; -use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\Core\Url; use Drupal\link\LinkItemInterface; use Symfony\Component\DependencyInjection\ContainerInterface; @@ -24,7 +23,7 @@ * } * ) */ -class LinkFormatter extends FormatterBase implements ContainerFactoryPluginInterface { +class LinkFormatter extends FormatterBase { /** * The path validator service. diff --git a/core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php b/core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php index c08c84f40ab21890118cc8ea16182c24d871afbd..0c9229b4e2be7a6087fe33e27c21a98d0d3717c9 100644 --- a/core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php +++ b/core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php @@ -10,7 +10,6 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Logger\LoggerChannelFactoryInterface; use Drupal\Core\Messenger\MessengerInterface; -use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\Core\Url; use Drupal\media\Entity\MediaType; use Drupal\media\IFrameUrlHelper; @@ -38,7 +37,7 @@ * }, * ) */ -class OEmbedFormatter extends FormatterBase implements ContainerFactoryPluginInterface { +class OEmbedFormatter extends FormatterBase { /** * The messenger service. diff --git a/core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php b/core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php index dcd059cf7779296ae7277f83a85161b2496ab117..eea85be8725dcb8e5856efc53920942317de75b3 100644 --- a/core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php +++ b/core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php @@ -7,7 +7,6 @@ use Drupal\Core\Field\FieldDefinitionInterface; use Drupal\Core\Field\FieldItemListInterface; use Drupal\Core\Form\FormStateInterface; -use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\Core\Url; use Drupal\file\FileInterface; use Drupal\image\Plugin\Field\FieldFormatter\ImageFormatterBase; @@ -30,7 +29,7 @@ * } * ) */ -class ResponsiveImageFormatter extends ImageFormatterBase implements ContainerFactoryPluginInterface { +class ResponsiveImageFormatter extends ImageFormatterBase { /** * @var \Drupal\Core\Entity\EntityStorageInterface