You are here

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

Parameters

string $key_suffix:

string $title:

string $label:

File

lib/InjectedAPI/describeMultiPlugin.php, line 34

Class

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

Code

function ruleWithLabel($key_suffix, $title, $label) {
  $this
    ->addRule($key_suffix, t('!key: !value', array(
    '!key' => $label,
    '!value' => $title,
  )));
}