function ctools_plugin_example_menu in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 ctools_plugin_example/ctools_plugin_example.module \ctools_plugin_example_menu()
Implements hook_menu.
File
- ctools_plugin_example/
ctools_plugin_example.module, line 29 - Working sample module to demonstrate CTools 3 plugins.
Code
function ctools_plugin_example_menu() {
$items = array();
$items["admin/settings/ctools_plugin_example"] = array(
'title' => 'CTools plugin example',
'description' => t("Demonstration code, advanced help, and a demo panel to show how to build ctools plugins."),
'page callback' => 'ctools_plugin_example_explanation_page',
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}