You are here

public function computed_field_handler_aggregate::options_form in Computed Field 7

Creates the form item for the options added.

Overrides views_handler_field::options_form

File

./computed_field.module, line 573
Functionality for the computed field.

Class

computed_field_handler_aggregate
Description of computed_field_handler_aggregate.

Code

public function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['computed_field_name'] = array(
    '#type' => 'textfield',
    '#required' => TRUE,
    '#title' => t('Computed Field Name'),
    '#default_value' => $this->options['computed_field_name'],
    '#description' => t('Please specify the computed field name where you have enabled aggregration (like SUM etc) and exposed in Views. Eg) field_computed'),
  );
}