function permissions_lock_get_hook_data in Permissions Lock 7
Get a list of permissions locks that have been set through hook_permissions_lock()
4 calls to permissions_lock_get_hook_data()
- permissions_lock_get_locked_permissions in ./
permissions_lock.module - Get an array of locked permissions
- permissions_lock_get_locked_roles in ./
permissions_lock.module - Get an array of locked roles
- permissions_lock_settings_form in ./
permissions_lock.module - Settings form to control which permissions and / or roles have to be locked
- _permissions_lock_get_available_permissions in ./
permissions_lock.module - Get a list of available permissions on the website
File
- ./
permissions_lock.module, line 246 - Lock permissions on the permissions administration pages for certain roles
Code
function permissions_lock_get_hook_data($type = 'permission') {
return drupal_map_assoc(module_invoke_all('permissions_lock', $type));
}