1 views_handler_field_node_revision_link.inc | views_handler_field_node_revision_link::access() |
Check whether current user has access to this handler.
Return value
boolean:
Overrides views_handler::access
File
- core/
modules/ node/ views/ views_handler_field_node_revision_link.inc, line 19 - Definition of views_handler_field_node_revision_link.
Class
- views_handler_field_node_revision_link
- Field handler to present a link to a node revision.
Code
function access() {
return user_access('view revisions') || user_access('administer nodes');
}