You are here

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

Parameters

crumbs_InjectedAPI_describeMultiPlugin $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_MultiPlugin::describe

File

lib/MultiPlugin/LegacyWrapper.php, line 51

Class

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

Code

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