X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fviews_ui%2Fsrc%2FForm%2FBreakLockForm.php;fp=web%2Fcore%2Fmodules%2Fviews_ui%2Fsrc%2FForm%2FBreakLockForm.php;h=6e93848802a1aa21b16012523e483d767d44d6e9;hp=b73e618cc2d2fc5175c4229ba2ecbb1d9097c36c;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/views_ui/src/Form/BreakLockForm.php b/web/core/modules/views_ui/src/Form/BreakLockForm.php index b73e618cc..6e9384880 100644 --- a/web/core/modules/views_ui/src/Form/BreakLockForm.php +++ b/web/core/modules/views_ui/src/Form/BreakLockForm.php @@ -5,11 +5,13 @@ namespace Drupal\views_ui\Form; use Drupal\Core\Entity\EntityConfirmFormBase; use Drupal\Core\Entity\EntityManagerInterface; use Drupal\Core\Form\FormStateInterface; -use Drupal\user\SharedTempStoreFactory; +use Drupal\Core\TempStore\SharedTempStoreFactory; use Symfony\Component\DependencyInjection\ContainerInterface; /** * Builds the form to break the lock of an edited view. + * + * @internal */ class BreakLockForm extends EntityConfirmFormBase { @@ -21,9 +23,9 @@ class BreakLockForm extends EntityConfirmFormBase { protected $entityManager; /** - * Stores the user tempstore. + * Stores the shared tempstore. * - * @var \Drupal\user\SharedTempStore + * @var \Drupal\Core\TempStore\SharedTempStore */ protected $tempStore; @@ -32,7 +34,7 @@ class BreakLockForm extends EntityConfirmFormBase { * * @param \Drupal\Core\Entity\EntityManagerInterface $entity_manager * The Entity manager. - * @param \Drupal\user\SharedTempStoreFactory $temp_store_factory + * @param \Drupal\Core\TempStore\SharedTempStoreFactory $temp_store_factory * The factory for the temp store object. */ public function __construct(EntityManagerInterface $entity_manager, SharedTempStoreFactory $temp_store_factory) { @@ -46,7 +48,7 @@ class BreakLockForm extends EntityConfirmFormBase { public static function create(ContainerInterface $container) { return new static( $container->get('entity.manager'), - $container->get('user.shared_tempstore') + $container->get('tempstore.shared') ); }