abstract public function AccessPluginBase::access

Determine if the current user has access or not.

Parameters

Drupal\user\User $account: The user who wants to access this view.

Return value

TRUE Returns whether the user has access to the view.

5 methods override AccessPluginBase::access()

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/access/AccessPluginBase.php, line 81
Definition of Drupal\views\Plugin\views\access\AccessPluginBase.

Class

AccessPluginBase
The base plugin to handle access control.

Namespace

Drupal\views\Plugin\views\access

Code

public abstract function access($account);