function menu_position_expand_parent_link in Menu Position 7.2
Same name and namespace in other branches
- 7 menu_position.module \menu_position_expand_parent_link()
Dynamically expands the parent menu item for a rule.
Parameters
$plid: The parent menu item's mlid.
2 calls to menu_position_expand_parent_link()
- menu_position_activate_rule in ./
menu_position.module - Evaluates all rules based on the given path.
- menu_position_translated_menu_link_alter in ./
menu_position.module - Implements hook_translated_menu_link_alter().
File
- ./
menu_position.module, line 355 - Provides menu links for dynamic positioning of nodes based on configurable rules.
Code
function menu_position_expand_parent_link($plid = NULL) {
$link_id =& drupal_static(__FUNCTION__, NULL);
if (isset($plid)) {
$link_id = $plid;
}
return $link_id;
}