diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Derivative/AggregatorFeedBlock.php b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Derivative/AggregatorFeedBlock.php index 286cd20..be1630f9 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Derivative/AggregatorFeedBlock.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Derivative/AggregatorFeedBlock.php @@ -9,7 +9,7 @@ use Drupal\Core\Plugin\Discovery\ContainerDerivativeInterface; use Drupal\Core\Database\Connection; -use Symfony\Component\Translation\TranslatorInterface; +use Drupal\Core\StringTranslation\TranslationInterface; use Symfony\Component\DependencyInjection\ContainerInterface; /** @@ -36,7 +36,7 @@ class AggregatorFeedBlock implements ContainerDerivativeInterface { /** * The translation manager * - * @var \Symfony\Component\Translation\TranslatorInterface + * @var \Drupal\Core\StringTranslation\TranslationInterface */ protected $translationManager; @@ -47,8 +47,10 @@ class AggregatorFeedBlock implements ContainerDerivativeInterface { * The base plugin ID. * @param \Drupal\Core\Database\Connection $connection * The database connection. + * @param \Drupal\Core\StringTranslation\TranslationInterface $translation_manager + * The translation manager. */ - public function __construct($base_plugin_id, Connection $connection, TranslatorInterface $translation_manager) { + public function __construct($base_plugin_id, Connection $connection, TranslationInterface $translation_manager) { $this->basePluginId = $base_plugin_id; $this->connection = $connection; $this->translationManager = $translation_manager; @@ -66,7 +68,7 @@ public static function create(ContainerInterface $container, $base_plugin_id) { } /** - * Implements \Drupal\Component\Plugin\Derivative\DerivativeInterface::getDerivativeDefinition(). + * {@inheritdoc} */ public function getDerivativeDefinition($derivative_id, array $base_plugin_definition) { if (!empty($this->derivatives) && !empty($this->derivatives[$derivative_id])) { @@ -80,7 +82,7 @@ public function getDerivativeDefinition($derivative_id, array $base_plugin_defin } /** - * Implements \Drupal\Component\Plugin\Derivative\DerivativeInterface::getDerivativeDefinitions(). + * {@inheritdoc} */ public function getDerivativeDefinitions(array $base_plugin_definition) { // Add a block plugin definition for each feed.