public function views_plugin_display_services::options_submit in Services Views 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
- includes/
views/ views_plugin_display_services.inc, line 184 - Contains the page display plugin.
Class
- views_plugin_display_services
- The plugin that handles a Services callback.
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 'path':
$this
->set_option('path', $form_state['values']['path']);
break;
}
}