function trigger_example_menu in Examples for Developers 6
Same name and namespace in other branches
- 7 trigger_example/trigger_example.module \trigger_example_menu()
Implementation of hook_menu().
Provide a form that can be used to fire the module's triggers.
Related topics
File
- trigger_example/
trigger_example.module, line 31
Code
function trigger_example_menu() {
$items['trigger_example'] = array(
'title' => t('Trigger Example'),
'description' => t('Provides a form to test the triggers.'),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'trigger_example_form',
),
'access callback' => TRUE,
);
return $items;
}