You are here

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

Invoke all relevant plugins to find all possible parents for a given path.

Parameters

string $path:

array $item:

Return value

string[]

File

lib/PluginSystem/PluginEngine.php, line 72

Class

crumbs_PluginSystem_PluginEngine

Code

function findAllParents($path, $item) {
  $plugin_methods = $this->pluginBag
    ->getRoutePluginMethodIterator('findParent', $item['route']);
  return $this
    ->findAll($plugin_methods, array(
    $path,
    $item,
  ), TRUE);
}