function crumbs_example_CrumbsMonoPlugin_NewsByDate::describe in Crumbs, the Breadcrumbs suite 7.2
Same name and namespace in other branches
- 7 example/lib/CrumbsMonoPlugin/NewsByDate.php \crumbs_example_CrumbsMonoPlugin_NewsByDate::describe()
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
- example/
lib/ CrumbsMonoPlugin/ NewsByDate.php, line 8
Class
Code
function describe($api) {
$api
->setTitle('Breadcrumbs for news/(year)/(month)/(day)');
}