X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Fsrc%2FForm%2FConfirmDeleteMultiple.php;h=704439393342f5c3893ace49391c534d7c315457;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=1be7a68c157b843e2e07db8850c5bc3296000c93;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website diff --git a/web/core/modules/comment/src/Form/ConfirmDeleteMultiple.php b/web/core/modules/comment/src/Form/ConfirmDeleteMultiple.php index 1be7a68c1..704439393 100644 --- a/web/core/modules/comment/src/Form/ConfirmDeleteMultiple.php +++ b/web/core/modules/comment/src/Form/ConfirmDeleteMultiple.php @@ -3,7 +3,7 @@ namespace Drupal\comment\Form; use Drupal\comment\CommentStorageInterface; -use Drupal\user\PrivateTempStoreFactory; +use Drupal\Core\TempStore\PrivateTempStoreFactory; use Drupal\Core\Form\ConfirmFormBase; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Url; @@ -11,13 +11,15 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** * Provides the comment multiple delete confirmation form. + * + * @internal */ class ConfirmDeleteMultiple extends ConfirmFormBase { /** * The tempstore factory. * - * @var \Drupal\user\PrivateTempStoreFactory + * @var \Drupal\Core\TempStore\PrivateTempStoreFactory */ protected $tempStoreFactory; @@ -40,7 +42,7 @@ class ConfirmDeleteMultiple extends ConfirmFormBase { * * @param \Drupal\comment\CommentStorageInterface $comment_storage * The comment storage. - * @param \Drupal\user\PrivateTempStoreFactory $temp_store_factory + * @param \Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory * The tempstore factory. */ public function __construct(CommentStorageInterface $comment_storage, PrivateTempStoreFactory $temp_store_factory) { @@ -54,7 +56,7 @@ class ConfirmDeleteMultiple extends ConfirmFormBase { public static function create(ContainerInterface $container) { return new static( $container->get('entity.manager')->getStorage('comment'), - $container->get('user.private_tempstore') + $container->get('tempstore.private') ); }