You are here

crumbs_example.module in Crumbs, the Breadcrumbs suite 7

Same filename and directory in other branches
  1. 7.2 example/crumbs_example.module

File

example/crumbs_example.module
View source
<?php

/**
 * Implements hook_crumbs_plugins()
 */
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');
}

Functions