describeMonoPlugin.php in Crumbs, the Breadcrumbs suite 7.2
Same filename and directory in other branches
File
lib/InjectedAPI/describeMonoPlugin.phpView source
<?php
/**
* Injected API object for the describe() method of mono plugins.
*/
class crumbs_InjectedAPI_describeMonoPlugin {
/**
* @var crumbs_PluginOperation_describe
*/
protected $pluginOperation;
/**
* @param crumbs_PluginOperation_describe $plugin_operation
*/
function __construct($plugin_operation) {
$this->pluginOperation = $plugin_operation;
}
/**
* @param string $title
*/
function setTitle($title) {
$this->pluginOperation
->setTitle($title);
}
/**
* @param string $title
* @param string $label
*/
function titleWithLabel($title, $label) {
$this
->setTitle(t('!key: !value', array(
'!key' => $label,
'!value' => $title,
)));
}
}
Classes
Name | Description |
---|---|
crumbs_InjectedAPI_describeMonoPlugin | Injected API object for the describe() method of mono plugins. |