You are here

function node_limit_permission in Node Limit 7

Same name and namespace in other branches
  1. 8 old/node_limit.module \node_limit_permission()

Implements hook_permission().

File

./node_limit.module, line 20

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'),
    ),
  );
}