You are here

function openlayers_test_menu in Openlayers 6

Same name and namespace in other branches
  1. 6.2 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/settings/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;
}