function command_buttons_access in Command Buttons 7
Determine if a user has access to a button.
3 calls to command_buttons_access()
- command_buttons_handler_field_delete_entity::render_link in plugins/
views/ command_buttons_handler_field_delete_entity.inc - Renders the link.
- command_buttons_handler_field_edit_entity::render_link in plugins/
views/ command_buttons_handler_field_edit_entity.inc - Renders the link.
- command_buttons_handler_field_view_entity::render_link in plugins/
views/ command_buttons_handler_field_view_entity.inc
2 string references to 'command_buttons_access'
- command_buttons_entity_info in ./
command_buttons.module - Impliments hook_crud_hook_entity_info().
- command_buttons_menu in ./
command_buttons.module - Implements hook_menu().
File
- ./
command_buttons.module, line 456
Code
function command_buttons_access($op, $entity = NULL, $account = NULL) {
return entity_get_controller('command_button')
->access($op, $entity, $account);
}