action_example_menu

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 action_example_menu()

Implements hook_menu().

Provides a menu entry which explains what the module does.

Related topics

Code

examples/action_example/action_example.module, line 174

<?php
function action_example_menu() {
  $items['examples/action_example'] = array(
    'title' => 'Action Example', 
    'description' => 'Provides a basic information page.', 
    'page callback' => '_action_example_page', 
    'access callback' => TRUE,
  );
  return $items;
}
?>