class _taxonomy_CrumbsMultiPlugin_termReference_node in Crumbs, the Breadcrumbs suite 7
Hierarchy
- class \_taxonomy_CrumbsMultiPlugin_termReference implements crumbs_MultiPlugin
Expanded class hierarchy of _taxonomy_CrumbsMultiPlugin_termReference_node
File
- plugins/
crumbs.taxonomy.inc, line 98
View source
class _taxonomy_CrumbsMultiPlugin_termReference_node extends _taxonomy_CrumbsMultiPlugin_termReference {
protected $entityType = 'node';
/**
* Match "node/%" router path
*/
function findParent__node_x($path, $item) {
$node = $item['map'][1];
// Load the node if it hasn't been loaded due to a missing wildcard loader.
$node = is_numeric($node) ? node_load($node) : $node;
$parent_path = $this
->_findParentPath($node);
if ($parent_path) {
return array(
$node->type => $parent_path,
);
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
_taxonomy_CrumbsMultiPlugin_termReference:: |
protected | property | ||
_taxonomy_CrumbsMultiPlugin_termReference:: |
protected | property | ||
_taxonomy_CrumbsMultiPlugin_termReference:: |
function |
Overrides crumbs_MultiPlugin:: |
||
_taxonomy_CrumbsMultiPlugin_termReference:: |
protected | function | ||
_taxonomy_CrumbsMultiPlugin_termReference:: |
protected | function | ||
_taxonomy_CrumbsMultiPlugin_termReference:: |
protected | function | ||
_taxonomy_CrumbsMultiPlugin_termReference:: |
function | |||
_taxonomy_CrumbsMultiPlugin_termReference_node:: |
protected | property |
Overrides _taxonomy_CrumbsMultiPlugin_termReference:: |
|
_taxonomy_CrumbsMultiPlugin_termReference_node:: |
function | Match "node/%" router path |