You are here

function ctools_export_ui_edit_item_form in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 plugins/export_ui/ctools_export_ui.class.php \ctools_export_ui_edit_item_form()

Form callback to edit an exportable item.

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

1 string reference to 'ctools_export_ui_edit_item_form'
ctools_export_ui::edit_execute_form_standard in plugins/export_ui/ctools_export_ui.class.php
Execute the standard form for editing.

File

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

Code

function ctools_export_ui_edit_item_form($form, &$form_state) {

  // When called using #ajax via ajax_form_callback(), 'export' may
  // not be included so include it here.
  _ctools_export_ui_add_form_files($form, $form_state);
  $form_state['object']
    ->edit_form($form, $form_state);
  return $form;
}