0

its about Drupal 8, i created views with link "/admin/x" ... i want create menu in mymodule.links.menu.yml to open "/admin/x/city"

i'm using in mymodule.links.menu.yml:

imapping.mapping_configuration_city:
title: 'City'
route_name: 'view.mapping_settings.page_1'
route_parameters: { bundle: 'city' }
parent: 'imapping.mapping_configuration'
description: 'Airlines & Hotels'
weight: -20

i don't want pass "city" as param .. i want it as arg

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.