You are here

function crumbs_PluginOperation_describe::setTitle in Crumbs, the Breadcrumbs suite 7.2

Same name and namespace in other branches
  1. 7 lib/PluginOperation/describe.php \crumbs_PluginOperation_describe::setTitle()

To be called from crumbs_InjectedAPI_describeMonoPlugin::setTitle()

Parameters

string $title:

1 call to crumbs_PluginOperation_describe::setTitle()
crumbs_PluginOperation_describe::invoke in lib/PluginOperation/describe.php

File

lib/PluginOperation/describe.php, line 121

Class

crumbs_PluginOperation_describe
This class uses the PluginOperation pattern, but it does not implement any of the PluginOperation interfaces. This is because it is not supposed to be used with the PluginEngine, but rather from a custom function (see above).

Code

function setTitle($title) {
  $this
    ->_addRule($this->pluginKey);
  $this
    ->_addDescription($this->pluginKey, $title);
}