function config_perms_perm in Custom Permissions 6.2
Same name and namespace in other branches
- 6 config_perms.module \config_perms_perm()
File
- ./
config_perms.module, line 47 - Adds more granular permissions for items under 'administer site configuration'.
Code
function config_perms_perm() {
$permissions = array();
$perms = config_perms_perms();
//$perms += config_perms_persistant();
foreach ($perms as $perm) {
if ($perm->status) {
$permissions[] = check_plain($perm->name);
}
}
return $permissions;
}