You are here

function crumbs_InjectedAPI_describeMultiPlugin::descWithLabel in Crumbs, the Breadcrumbs suite 7.2

Parameters

string $description:

string $label:

string $key_suffix:

File

lib/InjectedAPI/describeMultiPlugin.php, line 65

Class

crumbs_InjectedAPI_describeMultiPlugin
Injected API object for the describe() method of multi plugins.

Code

function descWithLabel($description, $label, $key_suffix = '*') {
  $this
    ->addDescription(t('!key: !value', array(
    '!key' => $label,
    '!value' => $description,
  )), $key_suffix);
}