1 action_example.module | action_example_menu() |
Implements hook_menu().
Provides a menu entry which explains what the module does.
Related topics
File
- modules/
examples/ action_example/ action_example.module, line 121 - Hook implementations for the Action Example module.
Code
function action_example_menu() {
$items['examples/action_example'] = array(
'title' => 'Action Example',
'description' => 'Provides a basic information page.',
'page callback' => '_action_example_page',
'access callback' => TRUE,
);
$items['examples/action_example/basic'] = array(
'title' => 'Basic Action Example',
'description' => 'Provides a page to execute a basic action.',
'page callback' => 'backdrop_get_form',
'page arguments' => array('action_example_basic_action_form'),
'access callback' => TRUE,
);
return $items;
}