Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Domain Access is currently adding 2 fields (domains and all affiliates) on Node and User.
It should be very interesting to add such restriction on menu entries to allow visibility only for some domains.
Comments
Comment #2
Sebastien M. CreditAttribution: Sebastien M. as a volunteer commentedHere is my patch.
Hope it helps
Comment #3
Sebastien M. CreditAttribution: Sebastien M. as a volunteer commentedComment #4
agentrickardThat would have to be maintained as a new, separate module.
Comment #5
Sebastien M. CreditAttribution: Sebastien M. as a volunteer commentedOk, I'll work on that way.
Bye
Comment #6
Sebastien M. CreditAttribution: Sebastien M. as a volunteer commentedKeep this issue opened, I'll close it once a separate module will be available.
Thanks
Comment #7
garnett2125 CreditAttribution: garnett2125 commentedHere is a patch with a domain submodule called Domain Menu Access.
Comment #8
garnett2125 CreditAttribution: garnett2125 commentedRemoved debug function.
Comment #9
garnett2125 CreditAttribution: garnett2125 commentedA module is now available instead of using previous patch: https://www.drupal.org/project/domain_menu_access
Comment #10
andypostboth field storages needs to define enforced dependencies for the module see https://github.com/agentrickard/domain/pull/327
Comment #11
zerolab CreditAttribution: zerolab at Torchbox for Mencap commentedThat is looking quite good!
Closing this as the functionality is provided by the separate module. Patches/followup should happen in the domain_menu_access issue queue.