You are here

function references_dialog_plugin_display::options_submit in References dialog 7

Perform any necessary changes to the form values prior to storage.

There is no need for this function to actually store the data.

Overrides views_plugin_display::options_submit

File

views/references_dialog_plugin_display.inc, line 82
Contains the default display plugin.

Class

references_dialog_plugin_display
A plugin to handle defaults on a view.

Code

function options_submit(&$form, &$form_state) {
  parent::options_submit($form, $form_state);
  if ($form_state['section'] == 'attach') {
    $this
      ->set_option('attach', $this
      ->_sanitize_checkboxes($form_state['values']['attach']));
  }
}