You are here

function sharerich_menu in Sharerich 7

Same name and namespace in other branches
  1. 7.3 sharerich.module \sharerich_menu()
  2. 7.2 sharerich.module \sharerich_menu()

Implements hook_menu().

File

./sharerich.module, line 34

Code

function sharerich_menu() {
  $items['admin/config/user-interface/sharerich'] = array(
    'title' => 'Sharerich',
    'description' => 'Configure the Sharerich to select which social buttons you would like to enable.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'sharerich_admin_form',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer sharerich',
    ),
    'file' => 'sharerich.admin.inc',
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}