You are here

function autotag_menu in Taxonomy Autotagger 6

Same name and namespace in other branches
  1. 6.2 autotag.module \autotag_menu()

Implementation of hook_menu

Needed only for the module's settings page, and the autocomplete function

File

./autotag.module, line 80
autotag.module

Code

function autotag_menu() {
  $items = array();
  $items['autotag/autocomplete'] = array(
    'title' => 'Autocomplete autotag thingumy',
    'page callback' => 'autotag_autocomplete',
    'access arguments' => array(
      'create node content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}