You are here

public function OpenlayersLayers::hook_menu in Openlayers 7.3

File

modules/openlayers_ui/src/Plugin/export_ui/OpenlayersLayers.php, line 17
Class openlayers_layers_ui.

Class

OpenlayersLayers
Class openlayers_layers_ui.

Namespace

Drupal\openlayers_ui\UI

Code

public function hook_menu(&$items) {
  parent::hook_menu($items);
  $items['admin/structure/openlayers/layers']['type'] = MENU_LOCAL_TASK;
  $items['admin/structure/openlayers/layers']['weight'] = -5;
}