1 token_example.module | token_example_menu() |
Implements hook_menu().
Related topics
File
- modules/
examples/ token_example/ token_example.module, line 22 - Hook implementations for the Token Example module.
Code
function token_example_menu() {
$items['examples/token'] = array(
'title' => 'Token example',
'description' => 'Test replacement tokens in real time.',
'page callback' => 'backdrop_get_form',
'page arguments' => array('token_example_example_form'),
'access callback' => TRUE,
);
return $items;
}