function BreakLockForm::__construct
Same name in other branches
- 8.9.x core/modules/views_ui/src/Form/BreakLockForm.php \Drupal\views_ui\Form\BreakLockForm::__construct()
- 10 core/modules/views_ui/src/Form/BreakLockForm.php \Drupal\views_ui\Form\BreakLockForm::__construct()
- 11.x core/modules/views_ui/src/Form/BreakLockForm.php \Drupal\views_ui\Form\BreakLockForm::__construct()
Constructs a \Drupal\views_ui\Form\BreakLockForm object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\TempStore\SharedTempStoreFactory $temp_store_factory: The factory for the temp store object.
File
-
core/
modules/ views_ui/ src/ Form/ BreakLockForm.php, line 40
Class
- BreakLockForm
- Builds the form to break the lock of an edited view.
Namespace
Drupal\views_ui\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, SharedTempStoreFactory $temp_store_factory) {
$this->entityTypeManager = $entity_type_manager;
$this->tempStore = $temp_store_factory->get('views');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.