function crumbs_example_CrumbsMonoPlugin_NewsByDate::describe in Crumbs, the Breadcrumbs suite 7
Same name and namespace in other branches
- 7.2 example/lib/CrumbsMonoPlugin/NewsByDate.php \crumbs_example_CrumbsMonoPlugin_NewsByDate::describe()
Parameters
$api :crumbs_InjectedAPI_describeMonoPlugin: Injected API object, with methods that allows the plugin to further describe itself.
Return value
As an alternative to the API object's methods, the plugin can simply return a string label.
Overrides crumbs_MonoPlugin::describe
File
- example/
lib/ CrumbsMonoPlugin/ NewsByDate.php, line 5
Class
Code
function describe($api) {
$api
->setTitle('Breadcrumbs for news/(year)/(month)/(day)');
}