When a user with an assigned domain create or edit a menu item, the domain access field list all the available domains without restriction.
- Create a user with an assigned domain
- Add a menu link
- All the domains are available in the "Domain Access" field
Implements the hook_domain_references_alter as the domain access module does to restrict the list to user's assigned domains :
https://git.drupalcode.org/project/domain/-/blob/2.0.x/domain_access/dom...
Active
2.0
Code