You are here

function forena_views_plugins in Forena Reports 7.4

Same name and namespace in other branches
  1. 8 forena.views.inc \forena_views_plugins()
  2. 7.5 forena.views.inc \forena_views_plugins()
  3. 7.3 forena.views.inc \forena_views_plugins()

@file forena.views.inc Views registration

File

./forena.views.inc, line 6
forena.views.inc Views registration

Code

function forena_views_plugins() {
  $plugins = array();
  $plugins['style'] = array(
    'forena_style' => array(
      'title' => t('Forena Report'),
      'help' => t('Use a forena report to format view results'),
      'handler' => 'ForenaViewsPlugin',
      'theme' => 'forena_view_report',
      'uses options' => TRUE,
      'uses row plugin' => FALSE,
      'uses row class' => FALSE,
      'uses grouping' => FALSE,
      'uses fields' => TRUE,
      'admin' => t('Forena Report'),
      'type' => 'normal',
    ),
  );
  return $plugins;
}