function hook_crumbs_plugins in Crumbs, the Breadcrumbs suite 7
Same name and namespace in other branches
- 7.2 crumbs.api.php \hook_crumbs_plugins()
A hook to register crumbs plugins.
Parameters
$api: :crumbs_InjectedAPI_hookCrumbsPlugins An object with methods to register plugins. See the class definition of crumbs_InjectedAPI_hookCrumbsPlugins, which methods are available.
12 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().
- 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()
- entityreference_crumbs_plugins in plugins/
crumbs.entityreference.inc - Implements hook_crumbs_plugins().
1 invocation of hook_crumbs_plugins()
- crumbs_get_plugins in ./
crumbs.module - Returns an array of loaded plugins and disabled plugin keys.
File
- ./
crumbs.api.php, line 13
Code
function hook_crumbs_plugins($api) {
$api
->monoPlugin('something');
$api
->multiPlugin('somethingElse');
}