function views_handler_field_taxonomy_term_revision_link_revert::access in Taxonomy revision 7
Returns the user access to the field.
Return value
bool Return TRUE if user has access to this field handler.
Overrides views_handler::access
1 call to views_handler_field_taxonomy_term_revision_link_revert::access()
File
- views/
views_handler_field_taxonomy_term_revision_link_revert.inc, line 28 - Provide field handler to present a revert link for a taxonomy revision.
Class
- views_handler_field_taxonomy_term_revision_link_revert
- Field handler to present a link to revert a taxonomy term to a revision
Code
function access() {
return user_access('revert taxonomy term revisions') || user_access('administer taxonomy');
}