function actions_permissions_get_perm

nittany7 actions_permissions.module actions_permissions_get_perm($label, $key)
cis7 actions_permissions.module actions_permissions_get_perm($label, $key)
mooc7 actions_permissions.module actions_permissions_get_perm($label, $callback)

Returns the permission name used in user_access().

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

File

modules/contrib/views_bulk_operations/actions_permissions.module, line 49

Code

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