Config menu link

Component ID

2320215

Component name

Config menu link

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

3045

Component created

Component changed

Component body

Config Menu Links is a drop-in replacement for core's Custom Menu Links module.

By default, custom menu links in Drupal 8 are not managed through the Configuration API, and so for example cannot be exported as configuration. Config Menu Links provides the ability to create and manage custom menu links as exportable configuration
This module is meant for small menus. If you want to deploy content please consider using http://drupal.org/project/deploy

Installation

  • Install like any other module.
  • Optionally, uninstall the Custom Menu Link module if it's installed, since this module will replace it.

Basic usage

  • At Manage > Structure > Menus (admin/structure/menu), add a new menu or change an existing one.
  • On the menu's management page, you'll find a new "Add config link" menu item. Use it to create a new menu link.
  • If you wish, you can now export the menu item at Manage > Configuration > Development > Export > Single item (admin/config/development/configuration/single/export). You can also include the item in a feature created with the Features module.