function taxonomy_image_link_alter_menu in Taxonomy Image 6
Same name and namespace in other branches
- 5 contributed/taxonomy_image_link_alter/taxonomy_image_link_alter.module \taxonomy_image_link_alter_menu()
Implementation of hook_menu.
File
- contributed/
taxonomy_image_link_alter/ taxonomy_image_link_alter.module, line 10 - Change taxonomy links to show term images.
Code
function taxonomy_image_link_alter_menu() {
$items = array();
// Add a tab to the Admin Settings
$items['admin/settings/taxonomy_image/link_alter'] = array(
'title' => 'Link Alter',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'taxonomy_image_link_alter_form',
),
'access arguments' => array(
'administer site configuration',
),
'description' => 'Configure Taxonomy_image Link_alter functionality.',
'type' => MENU_LOCAL_TASK,
'weight' => 1,
);
return $items;
}