You are here

function crumbs_MonoPlugin_TranslateTitle::findTitle in Crumbs, the Breadcrumbs suite 7.2

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

lib/MonoPlugin/TranslateTitle.php, line 27

Class

crumbs_MonoPlugin_TranslateTitle

Code

function findTitle($path, $item) {
  return t($this->title);
}