function ViewUI::access

Same name in other branches
  1. 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::access()
  2. 8.9.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::access()
  3. 10 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::access()

Overrides AccessibleInterface::access

File

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

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function access($operation = 'view', ?AccountInterface $account = NULL, $return_as_object = FALSE) {
    return $this->storage
        ->access($operation, $account, $return_as_object);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.