function 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.
