X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fnode%2Fsrc%2FPlugin%2FAction%2FDeleteNode.php;fp=web%2Fcore%2Fmodules%2Fnode%2Fsrc%2FPlugin%2FAction%2FDeleteNode.php;h=19f8a7af2dbf05cffa777c974426ce5e3ce5df95;hp=c4d1aebe0b3503213bb7c8dbe0be76ca26447314;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/node/src/Plugin/Action/DeleteNode.php b/web/core/modules/node/src/Plugin/Action/DeleteNode.php index c4d1aebe0..19f8a7af2 100644 --- a/web/core/modules/node/src/Plugin/Action/DeleteNode.php +++ b/web/core/modules/node/src/Plugin/Action/DeleteNode.php @@ -5,7 +5,7 @@ namespace Drupal\node\Plugin\Action; use Drupal\Core\Action\ActionBase; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\Core\Session\AccountInterface; -use Drupal\user\PrivateTempStoreFactory; +use Drupal\Core\TempStore\PrivateTempStoreFactory; use Symfony\Component\DependencyInjection\ContainerInterface; /** @@ -23,7 +23,7 @@ class DeleteNode extends ActionBase implements ContainerFactoryPluginInterface { /** * The tempstore object. * - * @var \Drupal\user\SharedTempStore + * @var \Drupal\Core\TempStore\SharedTempStore */ protected $tempStore; @@ -43,7 +43,7 @@ class DeleteNode extends ActionBase implements ContainerFactoryPluginInterface { * The plugin ID for the plugin instance. * @param mixed $plugin_definition * The plugin implementation definition. - * @param \Drupal\user\PrivateTempStoreFactory $temp_store_factory + * @param \Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory * The tempstore factory. * @param \Drupal\Core\Session\AccountInterface $current_user * Current user. @@ -63,7 +63,7 @@ class DeleteNode extends ActionBase implements ContainerFactoryPluginInterface { $configuration, $plugin_id, $plugin_definition, - $container->get('user.private_tempstore'), + $container->get('tempstore.private'), $container->get('current_user') ); }