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 0647a39..0bf24cf 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 @@ -9,8 +9,8 @@ use Drupal\field\Annotation\FieldFormatter; use Drupal\Core\Annotation\Translation; -use Drupal\field\Plugin\Type\Formatter\FormatterBase; use Drupal\Core\Entity\EntityInterface; +use Drupal\image\Plugin\field\formatter\ImageFormatterBase; /** * Plugin for picture formatter. @@ -29,7 +29,7 @@ * } * ) */ -class PictureFormatter extends FormatterBase { +class PictureFormatter extends ImageFormatterBase { /** * {@inheritdoc}