You are here

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

Invoke all relevant plugins to find the title for a given path.

Parameters

string $path:

array $item:

array $breadcrumb:

Return value

mixed|null

File

lib/PluginSystem/PluginEngine.php, line 99

Class

crumbs_PluginSystem_PluginEngine

Code

function findTitle($path, $item, $breadcrumb) {
  $plugin_methods = $this->pluginBag
    ->getRoutePluginMethodIterator('findTitle', $item['route']);
  $result = $this
    ->find($plugin_methods, array(
    $path,
    $item,
    $breadcrumb,
  ), FALSE);
  return $result;
}