function theme_linkit_reverse_menu_trail in Linkit 7.2
Returns HTML for a reverse menu trail. (Based on theme_breadcrumb)
Parameters
$variables: An associative array containing:
- reverse_menu_trail: An array containing the menu trail item titles.
1 theme call to theme_linkit_reverse_menu_trail()
- LinkitPluginEntity::buildReverseMenuTrail in plugins/
linkit_plugins/ linkit-plugin-entity.class.php - Builds a reverse menu trail for the entity.
File
- ./
linkit.theme.inc, line 147 - Linkit theme functions.
Code
function theme_linkit_reverse_menu_trail($variables) {
$menu_trail = $variables['reverse_menu_trail'];
if (!empty($menu_trail)) {
$output = '<p>' . implode($variables['separator'], $menu_trail) . '</p>';
return $output;
}
}