You are here

protected function crumbs_PluginSystem_PluginEngine::processFindParent in Crumbs, the Breadcrumbs suite 7.2

Parameters

string $parent_raw:

Return value

string

2 calls to crumbs_PluginSystem_PluginEngine::processFindParent()
crumbs_PluginSystem_PluginEngine::find in lib/PluginSystem/PluginEngine.php
Invoke all relevant plugins to find title or parent for a given path.
crumbs_PluginSystem_PluginEngine::findAll in lib/PluginSystem/PluginEngine.php
Invoke all relevant plugins to find title or parent for a given path.

File

lib/PluginSystem/PluginEngine.php, line 82

Class

crumbs_PluginSystem_PluginEngine

Code

protected function processFindParent($parent_raw) {
  if ($this->router
    ->urlIsExternal($parent_raw)) {

    // Always discard external paths.
    return NULL;
  }
  return $this->router
    ->getNormalPath($parent_raw);
}