function profanity_menu in Profanity 7
Implements hook_menu().
File
- ./
profanity.module, line 21 - Main {profanity} file.
Code
function profanity_menu() {
$items = array();
$items['admin/config/content/profanity/settings'] = array(
'title' => 'Settings',
'description' => 'Configuration for the Profanity module.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'profanity_admin_settings',
),
'access arguments' => array(
'administer profanity',
),
'type' => MENU_LOCAL_ACTION,
);
return $items;
}