You are here

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

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

lib/MonoPlugin/LegacyWrapper.php, line 51

Class

crumbs_MonoPlugin_LegacyWrapper
A wrapper for legacy plugins with suffixed methods like findTitle__node_x().

Code

function describe($api) {
  return $this->wrappedPlugin
    ->describe($api);
}