You are here

function hook_crumbs_plugins in Crumbs, the Breadcrumbs suite 7.2

Same name and namespace in other branches
  1. 7 crumbs.api.php \hook_crumbs_plugins()

A hook to register crumbs plugins.

Parameters

crumbs_InjectedAPI_hookCrumbsPlugins $api: An object with methods to register plugins. See the class definition of crumbs_InjectedAPI_hookCrumbsPlugins, which methods are available.

18 functions implement hook_crumbs_plugins()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

blog_crumbs_plugins in plugins/crumbs.blog.inc
Implements hook_crumbs_plugins().
comment_crumbs_plugins in plugins/crumbs.comment.inc
Implements hook_crumbs_plugins().
commerce_checkout_crumbs_plugins in plugins/crumbs.commerce_checkout.inc
Implementation of hook_crumbs_plugins()
crumbs_crumbs_plugins in plugins/crumbs.crumbs.inc
Implements hook_crumbs_plugins().
crumbs_example_crumbs_plugins in example/crumbs_example.module
Implements hook_crumbs_plugins()

... See full list

1 invocation of hook_crumbs_plugins()
crumbs_PluginSystem_PluginInfo::get_discovery in lib/PluginSystem/PluginInfo.php
Information returned from hook_crumbs_plugins()

File

./crumbs.api.php, line 12

Code

function hook_crumbs_plugins($api) {
  $api
    ->monoPlugin('something');
  $api
    ->multiPlugin('somethingElse');
}