class _taxonomy_CrumbsMultiPlugin_termReference_user in Crumbs, the Breadcrumbs suite 7
Hierarchy
- class \_taxonomy_CrumbsMultiPlugin_termReference implements crumbs_MultiPlugin
Expanded class hierarchy of _taxonomy_CrumbsMultiPlugin_termReference_user
File
- plugins/
crumbs.taxonomy.inc, line 118
View source
class _taxonomy_CrumbsMultiPlugin_termReference_user extends _taxonomy_CrumbsMultiPlugin_termReference {
protected $entityType = 'user';
/**
* Match "user/%" router path
*/
function findParent__user_x($path, $item) {
$user = $item['map'][1];
// Load the user if it hasn't been loaded due to a missing wildcard loader.
$user = is_numeric($user) ? user_load($user) : $user;
$parent_path = $this
->_findParentPath($user);
if ($parent_path) {
// TODO: Is 'user' the correct bundle name?
return array(
'user' => $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_user:: |
protected | property |
Overrides _taxonomy_CrumbsMultiPlugin_termReference:: |
|
_taxonomy_CrumbsMultiPlugin_termReference_user:: |
function | Match "user/%" router path |