token_example_menu

6 token_example.module token_example_menu()
7 token_example.module token_example_menu()
8 token_example.module token_example_menu()

Implements hook_menu().

Related topics

File

token_example/token_example.module, line 29
An example module showing how to define and use tokens.

Code

function token_example_menu() {
  $items['examples/token'] = array(
    'title' => 'Token example', 
    'description' => 'Test replacement tokens in real time.', 
    'page callback' => 'drupal_get_form', 
    'page arguments' => array('token_example_example_form'), 
    'access callback' => TRUE,
  );
  return $items;
}
Login or register to post comments