function views_content_plugin_display_ctools_context::options_submit

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_content/plugins/views/views_content_plugin_display_ctools_context.inc, line 229

Class

views_content_plugin_display_ctools_context
The plugin that handles a block.

Code

public function options_submit(&$form, &$form_state) {
    // It is very important to call the parent function here:
    parent::options_submit($form, $form_state);
    switch ($form_state['section']) {
        case 'admin_title':
        case 'argument_input':
        case 'inherit_panels_path':
            $this->set_option($form_state['section'], $form_state['values'][$form_state['section']]);
            break;
    }
}