1 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

core/modules/comment/views/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 reply to a comment.

Code

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