function render_example_menu
Implements hook_menu().
Related topics
File
-
render_example/
render_example.module, line 25
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/altering'] = array(
'title' => 'Alter pages and blocks',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'render_example_demo_form',
),
'access arguments' => array(
'access devel information',
),
);
$items['examples/render_example/arrays'] = array(
'title' => 'Render array examples',
'page callback' => 'render_example_arrays',
'access callback' => TRUE,
);
return $items;
}