function content_taxonomy_autocomplete_menu in Content Taxonomy 5
Same name and namespace in other branches
- 6.2 content_taxonomy_autocomplete.module \content_taxonomy_autocomplete_menu()
- 6 content_taxonomy_autocomplete.module \content_taxonomy_autocomplete_menu()
Implementation of hook_menu
File
- ./
content_taxonomy_autocomplete.module, line 136 - Defines a widget type for content_taxonomy with autocomplete
Code
function content_taxonomy_autocomplete_menu($may_cache) {
$access = user_access('access content');
$items = array();
if (!$may_cache) {
$items[] = array(
'path' => 'content_taxonomy/autocomplete',
'callback' => 'content_taxonomy_autocomplete_load',
'access' => $access,
'type' => MENU_CALLBACK,
);
}
return $items;
}