Mercurial > hg > isophonics-drupal-site
diff core/modules/comment/src/Form/ConfirmDeleteMultiple.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/core/modules/comment/src/Form/ConfirmDeleteMultiple.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/modules/comment/src/Form/ConfirmDeleteMultiple.php Mon Apr 23 09:46:53 2018 +0100 @@ -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 @@ /** * 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 @@ * * @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 @@ public static function create(ContainerInterface $container) { return new static( $container->get('entity.manager')->getStorage('comment'), - $container->get('user.private_tempstore') + $container->get('tempstore.private') ); }