function ArgumentDefaultPluginBase::access

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase::access()
  2. 8.9.x core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase::access()
  3. 11.x core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase::access()

Determine if the administrator has the privileges to use this plugin.

1 call to ArgumentDefaultPluginBase::access()
ArgumentDefaultPluginBase::checkAccess in core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php
Disables the given option if the user does not have access.

File

core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php, line 88

Class

ArgumentDefaultPluginBase
The fixed argument default handler; also used as the base.

Namespace

Drupal\views\Plugin\views\argument_default

Code

public function access() {
    return TRUE;
}

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