menu_trail_by_path.api.php in Menu Trail By Path 7.2
Same filename and directory in other branches
Hooks provided by the Menu Trail By Path module.
File
menu_trail_by_path.api.phpView source
<?php
/**
* @file
* Hooks provided by the Menu Trail By Path module.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Alter the parent candidates before breadcrumb is set.
*
* @param string $path
* Path string. e.g. 'foo/bar/zee'.
* @param array $parent_candidates
* Array of breadcrumb parent candidates.
*/
function hook_menu_trail_by_path_parent_candidates_alter($path, &$parent_candidates) {
// Alter parent candidates here.
}
/**
* @} End of "addtogroup hooks".
*/
Functions
Name | Description |
---|---|
hook_menu_trail_by_path_parent_candidates_alter | Alter the parent candidates before breadcrumb is set. |