You are here

function crumbs_InjectedAPI_Collection_PluginCollection::getRoutePluginMethods in Crumbs, the Breadcrumbs suite 7.2

Return value

string[][][] Format: $['findParent'][$route][$plugin_key] = $method.

File

lib/InjectedAPI/Collection/PluginCollection.php, line 57

Class

crumbs_InjectedAPI_Collection_PluginCollection

Code

function getRoutePluginMethods() {
  $routePluginMethods = $this->routePluginMethods;
  foreach ($routePluginMethods as $base_method => &$route_plugin_methods) {
    if (isset($this->routelessPluginMethods[$base_method])) {
      foreach ($route_plugin_methods as $route => &$methods_by_plugin_key) {
        $methods_by_plugin_key += $this->routelessPluginMethods[$base_method];
      }
    }
  }
  return $routePluginMethods;
}