function 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

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');
}