You are here

function crumbs_example_crumbs_plugins in Crumbs, the Breadcrumbs suite 7

Same name and namespace in other branches
  1. 7.2 example/crumbs_example.module \crumbs_example_crumbs_plugins()

Implements hook_crumbs_plugins()

File

example/crumbs_example.module, line 6

Code

function crumbs_example_crumbs_plugins($api) {

  // The class will be crumbs_example_CrumbsMonoPlugin_NewsByDate.
  $api
    ->monoPlugin('NewsByDate');

  // The class will be crumbs_example_CrumbsMultiPlugin_ListOfNews.
  $api
    ->multiPlugin('ListOfNews');
}