Menu item visibility

Component ID

1205544

Component name

Menu item visibility

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

74666

Component created

Component changed

Component body

This module exposes configurable and extendable visibility settings for menu links. For example, if you want to create a 'My account' link that points to /user, both anonymous and registered users have access to the /user path, so both will see the link, even if anonymous users do not technically have an account. Using this module will allow you to only have your 'My account' link visible to registered users, and hide it from anonymous users.

The module uses the exact same UI used for block visibility settings for familiarity.

Similar modules

  • Menu per role - Only cares about user roles for visibility, not extendable, and not a re-usable UI.