function actions_permissions_get_perm in Views Bulk Operations (VBO) 6
Same name and namespace in other branches
- 6.3 actions_permissions.module \actions_permissions_get_perm()
- 7.3 actions_permissions.module \actions_permissions_get_perm()
3 calls to actions_permissions_get_perm()
- actions_permissions_perm in ./
actions_permissions.module - Implementation of hook_perm().
- views_bulk_operations_plugin_style::get_selected_operations in ./
views_bulk_operations_plugin_style.inc - API function to get list of selected operations.
- _views_bulk_operations_action_permission in ./
views_bulk_operations.module - Helper function to verify access permission to execute operation.
File
- ./
actions_permissions.module, line 38
Code
function actions_permissions_get_perm($label, $callback) {
return 'execute ' . rt($label) . ' (' . $callback . ')';
}