public ViewUI::isLocked()
Returns whether the current view is locked.
Return value
bool TRUE if the view is locked, FALSE otherwise.
File
- core/modules/views_ui/src/ViewUI.php, line 887
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_ui
Code
public function isLocked() { return is_object($this->lock) && ($this->lock->owner != \Drupal::currentUser()->id()); }
Please login to continue.