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. 10 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
If we don't have access to the form but are showing it anyway, ensure that the form is safe and cannot be changed from user input.

File

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

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.