protected function crumbs_PluginSystem_PluginInfo::get_routelessPluginMethods in Crumbs, the Breadcrumbs suite 7.2
Return value
true[][] Format: $['findParent'][$plugin_key] = $method
See also
crumbs_PluginSystem_PluginInfo::$routelessPluginMethods
File
- lib/
PluginSystem/ PluginInfo.php, line 182
Class
- crumbs_PluginSystem_PluginInfo
- Info about available plugins and their weights.
Code
protected function get_routelessPluginMethods() {
$unsorted = $this->routelessPluginMethodsUnsorted;
$types = array(
'decorateBreadcrumb' => 'alter',
'findParent' => 'find',
'findTitle' => 'find',
);
$order = $this->pluginOrder;
$sorted_all = array();
foreach ($types as $base_method_name => $type) {
if (!isset($unsorted[$base_method_name])) {
continue;
}
$sorted = $this
->sortPluginMethods($unsorted[$base_method_name], $order[$type]);
if (!empty($sorted)) {
$sorted_all[$base_method_name] = $sorted;
}
}
return $sorted_all;
}