You are here

function taxonomy_image_node_display_menu in Taxonomy Image 6

Same name and namespace in other branches
  1. 5 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 11
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['admin/settings/taxonomy_image/node_display'] = array(
    'title' => 'Node Display',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'taxonomy_image_node_display_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'description' => 'Configure Taxonomy_image Node_display functionality.',
    'type' => MENU_LOCAL_TASK,
    'weight' => 1,
  );
  return $items;
}