function menu_position_set_link in Menu Position 7
Same name and namespace in other branches
- 7.2 menu_position.module \menu_position_set_link()
Dynamically sets the menu item for a specified rule.
Parameters
int $rid: The rule ID.
string $link: The menu item that should be used for the rule.
1 call to menu_position_set_link()
- menu_position_activate_rule in ./
menu_position.module - Activates a specific rule for the given context.
File
- ./
menu_position.module, line 533 - Provides dynamic menu links based on configurable rules.
Code
function menu_position_set_link($rid, $link) {
menu_position_get_link('menu-position/' . $rid, $link);
}