1 views_handler_field_node_revision_link_delete.inc views_handler_field_node_revision_link_delete::access()

Check whether current user has access to this handler.

Return value

boolean:

Overrides views_handler_field_node_revision_link::access

File

core/modules/node/views/views_handler_field_node_revision_link_delete.inc, line 14
Definition of views_handler_field_node_revision_link_delete.

Class

views_handler_field_node_revision_link_delete
Field handler to present link to delete a node revision.

Code

function access() {
  return user_access('delete revisions') || user_access('administer nodes');
}