You are here

public function OpenlayersMaps::hook_menu in Openlayers 7.3

File

modules/openlayers_ui/src/Plugin/export_ui/OpenlayersMaps.php, line 17
Class openlayers_components_ui.

Class

OpenlayersMaps
Class openlayers_components_ui.

Namespace

Drupal\openlayers_ui\UI

Code

public function hook_menu(&$items) {
  parent::hook_menu($items);
  $items['admin/structure/openlayers/maps']['type'] = MENU_LOCAL_TASK;
  $items['admin/structure/openlayers/maps']['context'] = MENU_CONTEXT_PAGE | MENU_CONTEXT_INLINE;
  $items['admin/structure/openlayers/maps']['weight'] = -10;
}