function simple_dialog_example_menu in Simple Dialog 7
Same name and namespace in other branches
- 8 simple_dialog_example/simple_dialog_example.module \simple_dialog_example_menu()
Implements hook_menu().
File
- simple_dialog_example/
simple_dialog_example.module, line 7
Code
function simple_dialog_example_menu() {
$items['simple-dialog-example/target-page'] = array(
'title' => 'Target Page',
'page callback' => 'simple_dialog_example_target_page',
'access arguments' => array(
'administer simple dialog',
),
);
$items['simple-dialog-example/examples'] = array(
'title' => 'Examples',
'page callback' => 'simple_dialog_example_examples_page',
'access arguments' => array(
'administer simple dialog',
),
);
return $items;
}