This module allows you to assign different menus to different domains within your Drupal site. This means each domain can have its own unique set of main or footer menus, which can be managed by users with access limited to specific domains, and menus are automatically created or deleted when domains are added or removed.
Allow menus to have domain assignment so that menu and menu link administration can be linked to domain access.
The module intention is to allow each domain to have its own set of menus like a main menu or footer menu to be administered by users with administrative permissions limited to specific domains.
Feature summary
* Menus can be assigned to domains
* Configurable number of domain menu sets
* Bulk create and delete option
* Auto-create/auto-delete domain menus on domain create/delete
* Active domain domain menus block
Installation
Enable module as usual.
Then go to [admin/config/domain/domain_menus] to setup menu names and bulk create domain menus.
Checking "Create menus" and saving configuration will bulk create domain menus, one for each menu name and for each domain.
Warning
Domain Menus creates menus with machine names like "dm[number]-[string]", eg. dm1234567-main.
Avoid weird problems by not machine naming any other menus in such a pattern!
Composer require
If your composer minimum-stability is set to default (stable) and Domain project is still in non-stable version, you need to first composer require "drupal/domain:[VERSION]" AND "drupal/domain_access:[VERSION]" before composer require "drupal/domain_menus".
Domain Menus Superfish
composer require drupal/domain_menus_superfish to get all the dependencies for the submodule.