You are here

function ForenaViewsPlugin::options_form in Forena Reports 7.5

Same name and namespace in other branches
  1. 7.3 ForenaViewsPlugin.inc \ForenaViewsPlugin::options_form()
  2. 7.4 ForenaViewsPlugin.inc \ForenaViewsPlugin::options_form()

Select forena report to use for renderig

Overrides views_plugin_style::options_form

File

./ForenaViewsPlugin.inc, line 19
ForenaViewsPlugin.inc Views plugin to use forena report as a views renderer. @author davidmetzler

Class

ForenaViewsPlugin
@file ForenaViewsPlugin.inc Views plugin to use forena report as a views renderer. @author davidmetzler

Code

function options_form(&$form, &$form_state) {
  $form['report_name'] = array(
    '#title' => t('Create from report'),
    '#type' => 'textfield',
    '#autocomplete_path' => 'forena/reports/autocomplete',
    '#default_value' => $this->options['report_name'],
    '#required' => TRUE,
  );
}