You are here

function widgets_menu in Widgets 6

Same name and namespace in other branches
  1. 7 widgets.module \widgets_menu()

Implementation of hook_menu().

File

./widgets.module, line 10
Implementaion of module hooks for Widgets module.

Code

function widgets_menu() {
  $items = array();
  $items['admin/settings/widgets'] = array(
    'title' => t('Widgets'),
    'description' => t('Settings for Widgets module.'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'widgets_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'widgets.admin.inc',
    'file path' => drupal_get_path('module', 'widgets'),
  );
  return $items;
}