function ctools_content_menu in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 includes/content.menu.inc \ctools_content_menu()
@file Contains menu item registration for the content tool.
The menu items registered are AJAX callbacks for the things like autocomplete and other tools needed by the content types.
File
- includes/
content.menu.inc, line 11 - Contains menu item registration for the content tool.
Code
function ctools_content_menu(&$items) {
$base = array(
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
'file' => 'includes/content.menu.inc',
);
$items['ctools/autocomplete/node'] = array(
'page callback' => 'ctools_content_autocomplete_node',
) + $base;
}