class crumbs_InjectedAPI_describeMonoPlugin in Crumbs, the Breadcrumbs suite 7.2
Same name and namespace in other branches
- 7 lib/InjectedAPI/describeMonoPlugin.php \crumbs_InjectedAPI_describeMonoPlugin
Injected API object for the describe() method of mono plugins.
Hierarchy
Expanded class hierarchy of crumbs_InjectedAPI_describeMonoPlugin
File
- lib/
InjectedAPI/ describeMonoPlugin.php, line 7
View source
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,
)));
}
}