function rss_permissions_menu in RSS Permissions 6
Implementation of hook_menu().
File
- ./
rss_permissions.module, line 26
Code
function rss_permissions_menu() {
$menu = array();
// Administartion page for RSS Permissions settings.
// Even though I'm a big nerd about hyphens in URLs, and even Drupal two-word
// URLs are using hyphens, looks like it actually breaks some functionality,
// like the "more help" link, and "administration pages" list in the help
// section.
// @todo: Look into filing a ticket for this.
$menu['admin/settings/rss_permissions'] = array(
'title' => t('RSS permissions'),
'description' => t('Enable or disable RSS feeds on the website.'),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'rss_permissions_form',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
);
return $menu;
}