You are here

function taxonomy_image_node_display_menu in Taxonomy Image 5

Same name and namespace in other branches
  1. 6 contributed/taxonomy_image_node_display/taxonomy_image_node_display.module \taxonomy_image_node_display_menu()

Implementation of hook_menu.

File

contributed/taxonomy_image_node_display/taxonomy_image_node_display.module, line 52
Display taxonomy images in nodes where and when you want them.

Code

function taxonomy_image_node_display_menu() {
  $items = array();

  // Add a tab to the Admin Settings
  $items[] = array(
    'path' => 'admin/settings/taxonomy_image/node_display',
    'title' => 'Node Display',
    'callback' => 'drupal_get_form',
    'callback arguments' => array(
      'taxonomy_image_node_display_form',
    ),
    'access' => user_access('administer site configuration'),
    'description' => 'Configure Taxonomy_image Node_display functionality.',
    'type' => MENU_LOCAL_TASK,
    'weight' => 1,
  );
  return $items;
}