You are here

function actions_permissions_get_perm in Views Bulk Operations (VBO) 7.3

Same name and namespace in other branches
  1. 6.3 actions_permissions.module \actions_permissions_get_perm()
  2. 6 actions_permissions.module \actions_permissions_get_perm()

Returns the permission name used in user_access().

2 calls to actions_permissions_get_perm()
actions_permissions_permission in ./actions_permissions.module
Implements hook_permission().
ViewsBulkOperationsAction::access in plugins/operation_types/action.class.php
Returns whether the provided account has access to execute the operation.

File

./actions_permissions.module, line 49

Code

function actions_permissions_get_perm($label, $key) {
  return "execute {$key}";
}