context_reaction_menu::menu_set_active ( links = array(),
reset = FALSE 
)

Iterates through a provided links array for use with theme_links() (e.g. from menu_primary_links()) and provides an active class for any items that have a path that matches an active context.

Parameters:
$links An array of links.
$reset A boolean flag for resetting the static cache.
Returns:
A modified links array.

Definition at line 89 of file context_reaction_menu.inc.

References active, array(), and get_active_paths().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Sun May 26 02:23:45 2013 for Context by  doxygen 1.4.7