You are here

function wsconfig_form_wrapper in Web Service Data 7

Form callback wrapper: create or edit a wsconfig.

Parameters

$wsconfig: The wsconfig object being edited by this form.

See also

wsconfig_edit_form()

1 string reference to 'wsconfig_form_wrapper'
WsConfigUIController::hook_menu in modules/wsconfig/wsconfig.entity.inc
Overrides hook_menu() defaults. Main reason for doing this is that parent class hook_menu() is optimized for entity type administration.

File

modules/wsconfig/wsconfig.admin.inc, line 16
Admin forms for wsconfig

Code

function wsconfig_form_wrapper($wsconfig) {

  // Add the breadcrumb for the form's location.
  wsconfig_set_breadcrumb();
  return drupal_get_form('wsconfig_edit_form', $wsconfig);
}