function views_content_plugin_display_panel_pane::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_panel_pane.inc, line 328
Class
- views_content_plugin_display_panel_pane
- The plugin that handles a panel_pane.
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 'allow':
case 'argument_input':
case 'link_to_view':
case 'inherit_panels_path':
case 'pane_title':
case 'pane_description':
case 'pane_category':
$this->set_option($form_state['section'], $form_state['values'][$form_state['section']]);
break;
}
}