You are here

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

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

Parameters

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

Return value

string|void 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 25

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.');
}