You are here

public function ViewsHandlerInterface::access in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::access()

Check whether given user has access to this handler.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user account to check.

Return value

bool TRUE if the user has access to the handler, FALSE otherwise.

1 method overrides ViewsHandlerInterface::access()
HandlerBase::access in core/modules/views/src/Plugin/views/HandlerBase.php
Check whether given user has access to this handler.

File

core/modules/views/src/Plugin/views/ViewsHandlerInterface.php, line 53

Class

ViewsHandlerInterface
Provides an interface for all views handlers.

Namespace

Drupal\views\Plugin\views

Code

public function access(AccountInterface $account);