You are here

function countries_example_menu in Countries 8

Same name and namespace in other branches
  1. 7.2 modules/countries_example/countries_example.module \countries_example_menu()

Implements hook_menu().

File

modules/countries_example/countries_example.module, line 13
Provides examples for the Countries module.

Code

function countries_example_menu() {
  $items = array();
  $items['countries-example'] = array(
    'title' => 'Countries example page',
    'description' => 'Demonstrate countries API',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'countries_example',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}