function flot_views_plugins in Flot 6
Implementation of hook_views_plugins().
File
- views/
flot.views.inc, line 33
Code
function flot_views_plugins() {
return array(
'style' => array(
'flot' => array(
'title' => t('Flot'),
'help' => t('Displays the result set as a flot graph.'),
'handler' => 'flot_views_plugin_style',
'theme' => 'flot_views_style',
'theme path' => drupal_get_path('module', 'flot') . '/views',
'path' => drupal_get_path('module', 'flot') . '/views',
'even empty' => TRUE,
'uses row plugin' => FALSE,
'uses fields' => TRUE,
'uses options' => TRUE,
'type' => 'normal',
),
'flot_summary' => array(
'parent' => 'flot',
'title' => t('Flot'),
'help' => t('Displays the default summary as a flot graph.'),
'handler' => 'flot_views_plugin_summary_style',
'path' => drupal_get_path('module', 'flot') . '/views',
'theme' => 'flot_views_summary_style',
'theme path' => drupal_get_path('module', 'flot') . '/views',
'type' => 'summary',
// only shows up as a summary style
'uses options' => TRUE,
),
),
);
}