You are here

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

Same name and namespace in other branches
  1. 6.3 modules/comment/views_handler_field_comment_link_reply.inc \views_handler_field_comment_link_reply::access()

Check whether current user has access to this handler.

Return value

bool

Overrides views_handler::access

File

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

Class

views_handler_field_comment_link_reply
Field handler to present a link to delete a node.

Code

public function access() {

  // Check for permission to reply to comments.
  return user_access('post comments');
}