You are here

function crumbs_MonoPlugin_example::findParent in Crumbs, the Breadcrumbs suite 7

Same name and namespace in other branches
  1. 7.2 crumbs.api.php \crumbs_MonoPlugin_example::findParent()

Parameters

$path: System path that we want to find a parent for.

$item: Router item, as returned by menu_get_item(), but with a few convenience additions added in crumbs_get_router_item().

Return value

The parent path suggested by this plugin.

File

./crumbs.api.php, line 48

Class

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.

Code

function findParent();