function ViewUI::getLock
Same name in other branches
- 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getLock()
- 8.9.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getLock()
- 11.x 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 1357
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function getLock() {
return $this->lock;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.