class crumbs_MonoPlugin_TranslateTitle in Crumbs, the Breadcrumbs suite 7.2
Hierarchy
- class \crumbs_MonoPlugin_TranslateTitle implements crumbs_MonoPlugin_FindTitleInterface
Expanded class hierarchy of crumbs_MonoPlugin_TranslateTitle
File
- lib/
MonoPlugin/ TranslateTitle.php, line 3
View source
class crumbs_MonoPlugin_TranslateTitle implements crumbs_MonoPlugin_FindTitleInterface {
/**
* @var string
*/
protected $title;
/**
* @param string $title
*/
function __construct($title) {
$this->title = $title;
}
/**
* {@inheritdoc}
*/
function describe($api) {
$api
->titleWithLabel("t('" . $this->title . "')", t('Title'));
}
/**
* {@inheritdoc}
*/
function findTitle($path, $item) {
return t($this->title);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
crumbs_MonoPlugin_TranslateTitle:: |
protected | property | ||
crumbs_MonoPlugin_TranslateTitle:: |
function |
Overrides crumbs_MonoPlugin:: |
||
crumbs_MonoPlugin_TranslateTitle:: |
function |
Find candidates for the parent path. Overrides crumbs_MonoPlugin_FindTitleInterface:: |
||
crumbs_MonoPlugin_TranslateTitle:: |
function |