Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ViewsHandlerInterface.php

function 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 55

Class

ViewsHandlerInterface
Provides an interface for all views handlers.

Namespace

Drupal\views\Plugin\views

Code

public function access(AccountInterface $account);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal