You are here

function crumbs_EntityPlugin_Callback::describe in Crumbs, the Breadcrumbs suite 7.2

@inheritdoc

Overrides crumbs_EntityPlugin::describe

File

lib/EntityPlugin/Callback.php, line 51

Class

crumbs_EntityPlugin_Callback

Code

function describe($api, $entity_type, $keys) {
  foreach ($keys as $key => $title) {
    $api
      ->addRule($key, $title);
  }
}