public function ViewUI::isLocked

Returns whether the current view is locked.

Return value

bool TRUE if the view is locked, FALSE otherwise.

1 call to ViewUI::isLocked()
ViewUI::cacheSet in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php
Sets a cached view object in the user tempstore.

File

drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php, line 778
Definition of Drupal\views_ui\ViewUI.

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function isLocked() {
  return is_object($this->lock) && $this->lock->owner != $GLOBALS['user']->uid;
}