You are here

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

Check whether current user has access to this handler.

Return value

boolean

Overrides HandlerBase::access

File

lib/Views/locale/Plugin/views/field/LinkEdit.php, line 57
Definition of Views\locale\Plugin\views\field\LinkEdit.

Class

LinkEdit
Field handler to present a link to edit a translation.

Namespace

Views\locale\Plugin\views\field

Code

public function access() {

  // Ensure user has access to edit translations.
  return user_access('translate interface');
}