Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ViewUI.php

function 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 1355

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal