diff --git a/core/modules/comment/lib/Drupal/comment/Form/ConfirmDeleteMultiple.php b/core/modules/comment/lib/Drupal/comment/Form/ConfirmDeleteMultiple.php index 0636627..5c6afdd 100644 --- a/core/modules/comment/lib/Drupal/comment/Form/ConfirmDeleteMultiple.php +++ b/core/modules/comment/lib/Drupal/comment/Form/ConfirmDeleteMultiple.php @@ -7,7 +7,7 @@ namespace Drupal\comment\Form; -use Drupal\comment\CommentStorageControllerInterface; +use Drupal\comment\CommentStorageInterface; use Drupal\user\TempStoreFactory; use Drupal\Component\Utility\String; use Drupal\Core\Cache\Cache; @@ -49,7 +49,7 @@ class ConfirmDeleteMultiple extends ConfirmFormBase { * @param \Drupal\user\TempStoreFactory $temp_store_factory * The tempstore factory. */ - public function __construct(CommentStorageControllerInterface $comment_storage, TempStoreFactory $temp_store_factory) { + public function __construct(CommentStorageInterface $comment_storage, TempStoreFactory $temp_store_factory) { $this->commentStorage = $comment_storage; $this->tempStoreFactory = $temp_store_factory; } @@ -59,7 +59,7 @@ public function __construct(CommentStorageControllerInterface $comment_storage, */ public static function create(ContainerInterface $container) { return new static( - $container->get('entity.manager')->getStorageController('comment'), + $container->get('entity.manager')->getStorage('comment'), $container->get('user.tempstore') ); }