You are here

public function OpenlayersStyles::hook_menu in Openlayers 7.3

File

modules/openlayers_ui/src/Plugin/export_ui/OpenlayersStyles.php, line 19
Class openlayers_components_ui.

Class

OpenlayersStyles
Class openlayers_components_ui.

Namespace

Drupal\openlayers_ui\UI

Code

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