You are here

function crumbs_MonoPlugin_TranslateTitle::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/TranslateTitle.php, line 20

Class

crumbs_MonoPlugin_TranslateTitle

Code

function describe($api) {
  $api
    ->titleWithLabel("t('" . $this->title . "')", t('Title'));
}