1 views_handler_field_comment_link_delete.inc views_handler_field_comment_link_delete::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_delete.inc, line 13
Definition of views_handler_field_comment_link_delete.

Class

views_handler_field_comment_link_delete
Field handler to present a link to delete a comment.

Code

function access() {
  //needs permission to administer comments in general
  return user_access('administer comments');
}