Menu Context

Component ID

1240738

Component name

Menu Context

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Menu Context is a utility module providing the Context system with additional capabilities based on menu navigation. Currently these capabilities are:

  • Registration of current and parent menu link IDs with the Context cache, for use by other modules such as Views default argument from Context.
  • A condition to set context according to the currently-viewed item's menu parent node type. For example, if every node of type Foo has a number of child pages in the menu system, context can be set for each of those child menu items on the basis of their menu parent being a Foo node.