| 1 path.module | path_permission() | 
        
Implements hook_permission().
File
- core/
modules/ path/ path.module, line 10  - Enables users to customize URLs and provide automatic URL alias patterns.
 
Code
function path_permission() {
  return array(
    'administer url aliases' => array(
      'title' => t('Administer URL aliases'),
    ),
    'create url aliases' => array(
      'title' => t('Create and edit URL aliases'),
    ),
    'administer path patterns' => array(
      'title' => t('Administer URL alias patterns'),
      'description' => t('Allows a user to configure patterns for automated URL aliases and bulk delete URL aliases.'),
    ),
    'notify of path changes' => array(
      'title' => t('Notify of automatic URL alias changes'),
      'description' => t('Determines whether or not users are shown a notice when an automatic URL alias changes.'),
    )
  );
}