function node_limit_permission in Node Limit 8
Same name and namespace in other branches
- 7 node_limit.module \node_limit_permission()
Implements hook_permission().
File
- old/
node_limit.module, line 22
Code
function node_limit_permission() {
return array(
NODE_LIMIT_PERM_ADMIN => array(
'title' => t('Administer node limits'),
'description' => t('Allow administrators to change the node limit values'),
),
NODE_LIMIT_PERM_OVERRIDE => array(
'title' => t('Override node limits'),
'description' => t('Allow users to override all node limits'),
),
);
}