/** * {@inheritdoc} */ 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; }
/** * {@inheritdoc} */ public function hook_menu(&$items) { parent::hook_menu($items); $items['admin/structure/openlayers/components']['type'] = MENU_LOCAL_TASK; $items['admin/structure/openlayers/components']['weight'] = 3; }