You are here

function views_handler_field_comment_link_reply::access in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.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

boolean

Overrides views_handler::access

File

modules/comment/views_handler_field_comment_link_reply.inc, line 9

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