public function fieldable_panels_pane::edit_form in Fieldable Panels Panes (FPP) 7
Provide the actual editing form.
Overrides ctools_export_ui::edit_form
File
- plugins/
export_ui/ fieldable_panels_pane.class.php, line 63 - 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(&$form, &$form_state) {
parent::edit_form($form, $form_state);
// Allow users to jump right into adding fields.
if (module_exists('field_ui')) {
$form['buttons']['save_continue'] = array(
'#type' => 'submit',
'#value' => t('Save and add fields'),
'#access' => $form_state['op'] == 'add' || $form_state['op'] == 'clone',
);
}
}