You are here

flot_views_time.module in Flot 8

A collection of module hooks for the flot_views_time module.

File

flot_views_time/flot_views_time.module
View source
<?php

/**
 * @file
 * A collection of module hooks for the flot_views_time module.
 */

// Store flot_views_time preprocess theme functions in a separate .inc file.
\Drupal::moduleHandler()
  ->loadInclude('flot_views_time', 'inc', 'flot_views_time.theme');

/**
 * Implements hook_theme().
 */
function flot_views_time_theme(array $existing, $type, $theme, $path) {
  return [
    'flot_views_time' => [
      'render element' => 'flot',
    ],
    // On behalf of a plugin
    'views_ui_style_plugin_flot_views_table' => array(
      'render element' => 'form',
      'file' => 'flot_views_time.theme.inc',
    ),
  ];
}

Functions

Namesort descending Description
flot_views_time_theme Implements hook_theme().