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