function easy_social_menu in Easy Social 7
Same name and namespace in other branches
- 6 easy_social.module \easy_social_menu()
- 7.2 easy_social.module \easy_social_menu()
Implements hook_menu().
File
- ./
easy_social.module, line 23 - This is the file description for Easy Social module.
Code
function easy_social_menu() {
$items = array();
$items['admin/config/content/easysocial'] = array(
'title' => 'Easy Social Settings',
'description' => 'Configure the social buttons and node types',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'admin_config_easy_social',
),
'access arguments' => array(
'administer easy social',
),
);
$items['admin/config/content/easysocial/default'] = array(
'title' => 'Easy Social Settings',
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/config/content/easysocial/paths-ignore'] = array(
'title' => 'Ignore Paths',
'description' => 'Global paths to ignore and do not display Easy Social',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'admin_config_easy_social_ignore_paths',
),
'access arguments' => array(
'administer easy social',
),
'type' => MENU_LOCAL_TASK,
);
return $items;
}