function views_handler_field_comment_link_reply::access

3.x 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

boolean

Overrides views_handler::access

File

modules/comment/views_handler_field_comment_link_reply.inc, line 14
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

function access() {
  //check for permission to reply to comments
  return user_access('post comments');
}