You are here

function entityreference_prepopulate_CrumbsMonoPlugin_node::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

plugins/crumbs.entityreference_prepopulate.inc, line 71

Class

entityreference_prepopulate_CrumbsMonoPlugin_node

Code

function describe($api) {
  $api
    ->titleWithLabel(t('!field_name from request', array(
    '!field_name' => '<code>?' . $this->fieldName . '=*</code>',
  )), t('Parent'));
}