You are here

function openlayers_test_menu in Openlayers 6.2

Same name and namespace in other branches
  1. 6 tests/openlayers_test.module \openlayers_test_menu()
  2. 7.2 tests/openlayers_test.module \openlayers_test_menu()

Implementation of hook_menu().

File

tests/openlayers_test.module, line 16
Main OpenLayers Test Module file

Code

function openlayers_test_menu() {
  $items = array();
  $items['admin/build/openlayers/test'] = array(
    'title' => 'OpenLayers Test Page',
    'description' => 'Test Page for OpenLayers.',
    'page callback' => 'openlayers_test_page',
    'access arguments' => array(
      'administer openlayers',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 9999,
  );
  return $items;
}