You are here

function fivestar_menu in Fivestar 7.2

Same name and namespace in other branches
  1. 5 fivestar.module \fivestar_menu()
  2. 6.2 fivestar.module \fivestar_menu()
  3. 6 fivestar.module \fivestar_menu()

Implements hook_menu().

File

./fivestar.module, line 48

Code

function fivestar_menu() {
  $items = array();
  $items['admin/config/content/fivestar'] = array(
    'title' => 'Fivestar',
    'description' => 'Configure site-wide widgets used for Fivestar rating.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'fivestar_settings',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'includes/fivestar.admin.inc',
  );
  return $items;
}