You are here

public function views_handler_field_comment_link_approve::access in Views (for Drupal 7) 7.3

Check whether current user has access to this handler.

Return value

bool

Overrides views_handler::access

File

modules/comment/views_handler_field_comment_link_approve.inc, line 18
Definition of views_handler_field_comment_link_approve.

Class

views_handler_field_comment_link_approve
Provides a comment approve link.

Code

public function access() {

  // Needs permission to administer comments in general.
  return user_access('administer comments');
}