You are here

function flot_theme in Flot 8

Same name and namespace in other branches
  1. 6 flot.module \flot_theme()
  2. 7 flot.module \flot_theme()

Implements hook_theme().

File

./flot.module, line 11
A collection on module hooks for the flot module.

Code

function flot_theme(array $existing, $type, $theme, $path) {
  return [
    'flot_element' => [
      'variables' => [
        'id' => NULL,
      ],
      'flot' => [
        'render element' => 'flot',
      ],
    ],
  ];
}