You are here

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

Check whether current user has access to this handler.

Return value

boolean

Overrides HandlerBase::access

1 method overrides Link::access()
ContactLink::access in lib/Views/contact/Plugin/views/field/ContactLink.php
Check whether current user has access to this handler.

File

lib/Views/user/Plugin/views/field/Link.php, line 51
Definition of Views\user\Plugin\views\field\Link.

Class

Link
Field handler to present a link to the user.

Namespace

Views\user\Plugin\views\field

Code

public function access() {
  return user_access('access user profiles');
}