function ctools_export_ui_edit_item_wizard_form

Form callback to edit an exportable item using the wizard

This simply loads the object defined in the plugin and hands it off.

1 string reference to 'ctools_export_ui_edit_item_wizard_form'
ctools_export_ui::get_wizard_info in plugins/export_ui/ctools_export_ui.class.php
Get the form info for the wizard.

File

plugins/export_ui/ctools_export_ui.class.php, line 1479

Code

function ctools_export_ui_edit_item_wizard_form($form, &$form_state) {
    _ctools_export_ui_add_form_files($form, $form_state);
    $method = 'edit_form_' . $form_state['step'];
    if (!method_exists($form_state['object'], $method)) {
        $method = 'edit_form';
    }
    $form_state['object']->{$method}($form, $form_state);
    return $form;
}