You are here

function entity_ui_main_form_defaults in Entity API 7

Form wrapper the main entity form.

See also

entity_ui_form_defaults()

1 string reference to 'entity_ui_main_form_defaults'
entity_ui_get_form in ./entity.module
A wrapper around drupal_get_form() that helps building entity forms.

File

includes/entity.ui.inc, line 649
Provides a controller for building an entity overview form.

Code

function entity_ui_main_form_defaults($form, &$form_state, $entity = NULL, $op = NULL) {

  // Now equals entity_ui_form_defaults() but is still here to keep backward
  // compatibility.
  return entity_ui_form_defaults($form, $form_state, $form_state['entity_type'], $entity, $op);
}