function crumbs_MultiPlugin_example::findTitle in Crumbs, the Breadcrumbs suite 7.2
Same name and namespace in other branches
- 7 crumbs.api.php \crumbs_MultiPlugin_example::findTitle()
Parameters
string $path: System path of the breadcrumb item that we want to find a link text for.
array $item: Router item, as returned by menu_get_item(), but with a few convenience additions added in crumbs_get_router_item().
Return value
string[] A key-value array, where the keys identify crumbs rules, and the values are candidates for the link title. Rule keys are relative to the plugin key.
File
- ./
crumbs.api.php, line 132
Class
- crumbs_MultiPlugin_example
- Pseudo-interface for plugin objects registered with hook_crumbs_plugins(). The methods defined here are all optional. We only use this interface for documentation, no class actually implements it.
Code
function findTitle($path, $item);