You are here

public function ViewUI::getLock in Drupal 8

Same name and namespace in other branches
  1. 9 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.

2 calls to ViewUI::getLock()
ViewUI::isLocked in core/modules/views_ui/src/ViewUI.php
Returns whether the current view is locked.
ViewUI::__get in core/modules/views_ui/src/ViewUI.php

File

core/modules/views_ui/src/ViewUI.php, line 1365

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function getLock() {
  return $this->lock;
}