You are here

flot_spider_examples.module in Flot 8

A collection of module hooks for the flot_spider_examples module.

File

flot_spider/flot_spider_examples/flot_spider_examples.module
View source
<?php

/**
 * @file
 * A collection of module hooks for the flot_spider_examples module.
 */
use Drupal\Core\Url;

/**
 * Implements hook_foo_BAR_ID_bar() for xyz_bar().
 */
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);
}

Functions

Namesort descending Description
flot_spider_examples_flot_examples_toc_alter Implements hook_foo_BAR_ID_bar() for xyz_bar().