You are here

function menu_position_get_activated_rules in Menu Position 7

Return the activated rule(s) for the specified context.

See also

menu_position_evaluate_rules()

1 call to menu_position_get_activated_rules()
menu_position_token_menu_link_load in ./menu_position.module
Return a menu link for the given node.

File

./menu_position.module, line 255
Provides dynamic menu links based on configurable rules.

Code

function menu_position_get_activated_rules($context) {
  return menu_position_evaluate_rules($context, TRUE);
}