public function fieldable_panels_pane::edit_save_form in Fieldable Panels Panes (FPP) 7
Called to save the final product from the edit form.
Overrides ctools_export_ui::edit_save_form
File
- plugins/
export_ui/ fieldable_panels_pane.class.php, line 91 - 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_save_form($form_state) {
parent::edit_save_form($form_state);
// Ensure menu gets rebuild after saving a new type.
entity_info_cache_clear();
menu_rebuild();
if ($form_state['op'] === 'save_continue') {
$this->plugin['redirect']['save_continue'] = $this
->field_admin_path($form_state['values']['name'], 'fields');
}
}