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'); }
Please login to continue.