public function BreakLockForm::__construct

Constructs a \Drupal\views_ui\Form\BreakLockForm object.

Parameters

\Drupal\Core\Entity\EntityManager $entity_manager: The Entity manager.

\Drupal\user\TempStoreFactory $temp_store_factory: The factory for the temp store object.

File

drupal/core/modules/views_ui/lib/Drupal/views_ui/Form/BreakLockForm.php, line 52
Contains \Drupal\views_ui\Form\BreakLockForm.

Class

BreakLockForm
Builds the form to break the lock of an edited view.

Namespace

Drupal\views_ui\Form

Code

public function __construct(EntityManager $entity_manager, TempStoreFactory $temp_store_factory) {
  $this->entityManager = $entity_manager;
  $this->tempStore = $temp_store_factory
    ->get('views');
}