class _entityreference_CrumbsMultiPlugin_node in Crumbs, the Breadcrumbs suite 7
Hierarchy
- class \_entityreference_CrumbsMultiPlugin implements crumbs_MultiPlugin
Expanded class hierarchy of _entityreference_CrumbsMultiPlugin_node
File
- plugins/
crumbs.entityreference.inc, line 66
View source
class _entityreference_CrumbsMultiPlugin_node extends _entityreference_CrumbsMultiPlugin {
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 |
---|---|---|---|---|
_entityreference_CrumbsMultiPlugin:: |
protected | property | ||
_entityreference_CrumbsMultiPlugin:: |
protected | property | ||
_entityreference_CrumbsMultiPlugin:: |
function |
Overrides crumbs_MultiPlugin:: |
||
_entityreference_CrumbsMultiPlugin:: |
protected | function | ||
_entityreference_CrumbsMultiPlugin:: |
protected | function | ||
_entityreference_CrumbsMultiPlugin:: |
protected | function | ||
_entityreference_CrumbsMultiPlugin:: |
function | |||
_entityreference_CrumbsMultiPlugin_node:: |
protected | property |
Overrides _entityreference_CrumbsMultiPlugin:: |
|
_entityreference_CrumbsMultiPlugin_node:: |
function | Match "node/%" router path |