You are here

private function crumbs_PluginSystem_PluginBag::getRoutePluginMethods in Crumbs, the Breadcrumbs suite 7.2

Parameters

string $base_method_name: Either 'findParent' or 'findTitle' or 'decorateBreadcrumb'.

string $route: A route, e.g. 'node/%'.

Return value

true[] Format: $[$plugin_key] = true.

1 call to crumbs_PluginSystem_PluginBag::getRoutePluginMethods()
crumbs_PluginSystem_PluginBag::getRoutePluginMethodIterator in lib/PluginSystem/PluginBag.php

File

lib/PluginSystem/PluginBag.php, line 71

Class

crumbs_PluginSystem_PluginBag

Code

private function getRoutePluginMethods($base_method_name, $route) {
  if (isset($this->routePluginMethods[$base_method_name][$route])) {
    return $this->routePluginMethods[$base_method_name][$route];
  }
  if (isset($this->routelessPluginMethods[$base_method_name])) {
    return $this->routelessPluginMethods[$base_method_name];
  }
  return array();
}