You are here

function visualization_theme in Visualization API 7

Same name and namespace in other branches
  1. 8 visualization.module \visualization_theme()

Implements hook_theme().

File

./visualization.module, line 29
The helper functions for the visualization part of the module.

Code

function visualization_theme() {
  return array(
    'visualization' => array(
      'variables' => array(
        'options' => array(
          'title' => NULL,
          'xAxis' => array(),
          'fields' => array(),
          'type' => 'line',
          'data' => array(),
        ),
      ),
      'template' => 'visualization',
      'path' => drupal_get_path('module', 'visualization') . '/theme',
    ),
  );
}