| 1 views_plugin_display_embed.inc | public views_plugin_display_embed::options_submit(&$form, &$form_state) |
Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.
File
- core/
modules/ views/ plugins/ views_plugin_display_embed.inc, line 104 - Contains the embed display plugin.
Class
- views_plugin_display_embed
- The plugin that handles an embed display.
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 'inherit_path':
case 'exposed_form_options':
$this->set_option($form_state['section'], $form_state['values'][$form_state['section']]);
break;
}
}