interface crumbs_MonoPlugin_example in Crumbs, the Breadcrumbs suite 7.2
Same name and namespace in other branches
- 7 crumbs.api.php \crumbs_MonoPlugin_example
Pseudo-interface for plugin objects registered with hook_crumbs_plugins(). The methods defined here are all optional. We only use this interface for documentation, no class actually implements it.
Hierarchy
- interface \crumbs_PluginInterface
- interface \crumbs_MonoPlugin
- interface \crumbs_MonoPlugin_example
- interface \crumbs_MonoPlugin
Expanded class hierarchy of crumbs_MonoPlugin_example
All classes that implement crumbs_MonoPlugin_example
File
- ./
crumbs.api.php, line 26
View source
interface crumbs_MonoPlugin_example extends crumbs_MonoPlugin {
/**
* @param string $path
* System path that we want to find a parent for.
* @param array $item
* Router item, as returned by menu_get_item(), but with a few convenience
* additions added in crumbs_get_router_item().
*
* @return string
* The parent path suggested by this plugin.
*/
function findParent($path, $item);
/**
* Same signature as findParent()
* Only called for router path node/%
*
* @param string $path
* System path that we want to find a parent for.
* @param array $item
* Router item, as returned by menu_get_item(), but with a few convenience
* additions added in crumbs_get_router_item().
*
* @return string
* The parent path suggested by this plugin.
*/
function findParent__node_x($path, $item);
/**
* @param string $path
* System path of the breadcrumb item that we want to find a link text for.
* @param array $item
* Router item, as returned by menu_get_item(), but with a few convenience
* additions added in crumbs_get_router_item().
*
* @return string
* A string link text.
*/
function findTitle($path, $item);
/**
* Same signature as findTitle()
* Only called for router path node/%
*
* @param string $path
* System path of the breadcrumb item that we want to find a link text for.
* @param array $item
* Router item, as returned by menu_get_item(), but with a few convenience
* additions added in crumbs_get_router_item().
*
* @return string
* A string link text.
*/
function findTitle__node_x($path, $item);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
crumbs_MonoPlugin:: |
function | 23 | ||
crumbs_MonoPlugin_example:: |
function | |||
crumbs_MonoPlugin_example:: |
function | Same signature as findParent() Only called for router path node/% | ||
crumbs_MonoPlugin_example:: |
function | |||
crumbs_MonoPlugin_example:: |
function | Same signature as findTitle() Only called for router path node/% |