1 render_example.module render_example_menu()

Implements hook_menu().

Related topics

File

modules/examples/render_example/render_example.module, line 25
Demonstrates render arrays.

Code

function render_example_menu() {
  $items['examples/render_example'] = array(
    'title' => 'Render Example',
    'page callback' => 'render_example_info',
    'access callback' => TRUE,
  );
  $items['examples/render_example/arrays'] = array(
    'title' => 'Render array examples',
    'page callback' => 'render_example_arrays',
    'access callback' => TRUE,
  );

  return $items;
}