function flot_spider_examples_flot_examples_toc_alter in Flot 8
Implements hook_foo_BAR_ID_bar() for xyz_bar().
File
- flot_spider/
flot_spider_examples/ flot_spider_examples.module, line 13 - A collection of module hooks for the flot_spider_examples module.
Code
function flot_spider_examples_flot_examples_toc_alter(&$item_list) {
$options = [
':one' => Url::fromRoute('flot_spider_examples.example')
->toString(),
];
$item_list[] = t('<a href=":one">Spider Chart</a> (with spider plugin)', $options);
}