You are here

function ArgumentPluginBase::default_access_denied in Views (for Drupal 7) 8.3

Default action: access denied.

If an argument was expected and was not given, in this case, report the view as 'access denied'.

File

lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 702
Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

function default_access_denied() {
  $this->view->build_info['denied'] = TRUE;
  return FALSE;
}