You are here

function crumbs_PluginSystem_PluginBag::getDecorateBreadcrumbPlugins in Crumbs, the Breadcrumbs suite 7.2

Return value

crumbs_MonoPlugin

File

lib/PluginSystem/PluginBag.php, line 37

Class

crumbs_PluginSystem_PluginBag

Code

function getDecorateBreadcrumbPlugins() {
  $plugin_methods = isset($this->routelessPluginMethods['decorateBreadcrumb']) ? $this->routelessPluginMethods['decorateBreadcrumb'] : array();
  $plugins = array();
  foreach ($plugin_methods as $pluginKey => $method) {
    if (!isset($this->plugins[$pluginKey])) {
      continue;
    }
    $plugins[$pluginKey] = $this->plugins[$pluginKey];
  }
  return $plugins;
}