public function ViewUI::getLock in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getLock()
Gets the lock on this View.
Return value
\Drupal\Core\TempStore\Lock|null The lock, if one exists.
1 call to ViewUI::getLock()
- ViewUI::isLocked in core/
modules/ views_ui/ src/ ViewUI.php - Returns whether the current view is locked.
File
- core/
modules/ views_ui/ src/ ViewUI.php, line 1341
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function getLock() {
return $this->lock;
}