You are here

public function ArgumentDefaultPluginBase::access in Drupal 9

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

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;
}