diff --git a/core/modules/views_ui/lib/Drupal/views_ui/ViewPreviewForm.php b/core/modules/views_ui/lib/Drupal/views_ui/ViewPreviewForm.php index 0c07bb7..957204d 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/ViewPreviewForm.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/ViewPreviewForm.php @@ -16,32 +16,6 @@ class ViewPreviewForm extends ViewFormBase { /** - * The views temp store. - * - * @var \Drupal\user\TempStore - */ - protected $tempStore; - - /** - * Constructs a new ViewPreviewForm object. - * - * @param \Drupal\user\TempStoreFactory $temp_store_factory - * The factory for the temp store object. - */ - public function __construct(TempStoreFactory $temp_store_factory) { - $this->tempStore = $temp_store_factory->get('views'); - } - - /** - * {@inheritdoc} - */ - public static function create(ContainerInterface $container) { - return new static( - $container->get('user.tempstore') - ); - } - - /** * {@inheritdoc} */ public function form(array $form, array &$form_state) {