You are here

function trigger_example_menu in Examples for Developers 7

Same name and namespace in other branches
  1. 6 trigger_example/trigger_example.module \trigger_example_menu()

Implements hook_menu().

Provides a form that can be used to fire the module's triggers.

Related topics

File

trigger_example/trigger_example.module, line 261
Trigger definition example module.

Code

function trigger_example_menu() {
  $items['examples/trigger_example'] = array(
    'title' => 'Trigger Example',
    'description' => 'Provides a form to demonstrate the trigger example.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'trigger_example_form',
    ),
    'access callback' => TRUE,
  );
  return $items;
}