You are here

function path_CrumbsMonoPlugin::describe in Crumbs, the Breadcrumbs suite 7

Same name and namespace in other branches
  1. 7.2 plugins/crumbs.path.inc \path_CrumbsMonoPlugin::describe()

Parameters

$api :crumbs_InjectedAPI_describeMonoPlugin: Injected API object, with methods that allows the plugin to further describe itself.

Return value

As an alternative to the API object's methods, the plugin can simply return a string label.

Overrides crumbs_MonoPlugin::describe

File

plugins/crumbs.path.inc, line 19

Class

path_CrumbsMonoPlugin
Implementation of class hook class_CrumbsParentFinder on the behalf of path module.

Code

function describe($api) {
  return t('Chop off the last fragment of the path alias, consider the result as the parent path.');
}