public function fieldable_panels_pane::edit_form_submit in Fieldable Panels Panes (FPP) 7
Handle the submission of the edit form.
At this point, submission is successful. Our only responsibility is to copy anything out of values onto the item that we are able to edit.
If the keys all match up to the schema, this method will not need to be overridden.
Overrides ctools_export_ui::edit_form_submit
File
- plugins/
export_ui/ fieldable_panels_pane.class.php, line 79 - Class for Export UI to manage Fieldable Panels Pane bundles.
Class
- fieldable_panels_pane
- Fieldable Panels Panes type Export UI plugin class.
Code
public function edit_form_submit(&$form, &$form_state) {
parent::edit_form_submit($form, $form_state);
// Update the form state "op" so we can properly redirect.
if ($form_state['triggering_element']['#parents'][0] == 'save_continue') {
$form_state['op'] = 'save_continue';
}
}