function og_CrumbsMonoPlugin_groups_overview_title::findTitle in Crumbs, the Breadcrumbs suite 7.2
Same name and namespace in other branches
- 7 plugins/crumbs.og.inc \og_CrumbsMonoPlugin_groups_overview_title::findTitle()
Find candidates for the parent path.
Parameters
string $path: The path that we want to find a parent for.
array $item: Item as returned from crumbs_get_router_item()
Return value
string Title candidate.
Overrides crumbs_MonoPlugin_FindTitleInterface::findTitle
File
- plugins/
crumbs.og.inc, line 147
Class
- og_CrumbsMonoPlugin_groups_overview_title
- Make t('Groups') the title for '/group-list'.
Code
function findTitle($path, $item) {
if ($item['route'] === 'group-list') {
return t('Groups');
}
return NULL;
}