You are here

function crumbs_InjectedAPI_hookCrumbsPlugins::routeMonoPlugin in Crumbs, the Breadcrumbs suite 7.2

Register a "Mono" plugin that is restricted to a specific route.

Parameters

string $route:

string $key:

crumbs_MonoPlugin $plugin:

5 calls to crumbs_InjectedAPI_hookCrumbsPlugins::routeMonoPlugin()
crumbs_InjectedAPI_hookCrumbsPlugins::routeParentCallback in lib/InjectedAPI/hookCrumbsPlugins.php
Register a callback that will determine a parent for a breadcrumb item.
crumbs_InjectedAPI_hookCrumbsPlugins::routeParentPath in lib/InjectedAPI/hookCrumbsPlugins.php
crumbs_InjectedAPI_hookCrumbsPlugins::routeSkipItem in lib/InjectedAPI/hookCrumbsPlugins.php
crumbs_InjectedAPI_hookCrumbsPlugins::routeTitleCallback in lib/InjectedAPI/hookCrumbsPlugins.php
Register a callback that will determine a title for a breadcrumb item.
crumbs_InjectedAPI_hookCrumbsPlugins::routeTranslateTitle in lib/InjectedAPI/hookCrumbsPlugins.php

File

lib/InjectedAPI/hookCrumbsPlugins.php, line 193

Class

crumbs_InjectedAPI_hookCrumbsPlugins
API object to be used as an argument for hook_crumbs_plugins() This is a sandbox class, currently not used..

Code

function routeMonoPlugin($route, $key = NULL, crumbs_MonoPlugin $plugin = NULL) {
  $this
    ->addPluginByType($plugin, $key, $route, FALSE);
}