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