BreakLockForm::__construct

public BreakLockForm::__construct(EntityManagerInterface $entity_manager, SharedTempStoreFactory $temp_store_factory)

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

Parameters

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

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

File

core/modules/views_ui/src/Form/BreakLockForm.php, line 38

Class

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

Namespace

Drupal\views_ui\Form

Code

public function __construct(EntityManagerInterface $entity_manager, SharedTempStoreFactory $temp_store_factory) {
  $this->entityManager = $entity_manager;
  $this->tempStore = $temp_store_factory->get('views');
}
doc_Drupal
2016-10-29 08:48:49
Comments
Leave a Comment

Please login to continue.