You are here

public function ArgumentDefaultPluginBase::access in Views (for Drupal 7) 8.3

Determine if the administrator has the privileges to use this plugin

1 call to ArgumentDefaultPluginBase::access()
ArgumentDefaultPluginBase::check_access in lib/Drupal/views/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.
1 method overrides ArgumentDefaultPluginBase::access()
Php::access in lib/Drupal/views/Plugin/views/argument_default/Php.php
Only let users with PHP block visibility permissions set/modify this default plugin.

File

lib/Drupal/views/Plugin/views/argument_default/ArgumentDefaultPluginBase.php, line 68
Definition of Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase.

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