Returns the built and processed 'Manage fields' form of a bundle.
The resulting form allows fields and pseudo-fields to be re-ordered.
string $entity_type: The entity type for the fieldable entity.
string $bundle: The bundle for the fieldable entity.
The processed form for the given entity type and bundle.
Drupal\field_ui\FieldOverview::validate()
Drupal\field_ui\FieldOverview::submit()
function field_ui_field_overview($entity_type, $bundle) {
$bundle = field_extract_bundle($entity_type, $bundle);
field_ui_inactive_message($entity_type, $bundle);
$field_overview = new FieldOverview($entity_type, $bundle);
$form_state = array();
$form_state['build_info']['callback'] = array(
$field_overview,
'form',
);
$form_state['build_info']['args'] = array(
$entity_type,
$bundle,
);
return drupal_build_form('field_ui_field_overview_form', $form_state);
}