Returns the built and processed 'Manage display' 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.
string $view_mode: The view mode for the fieldable entity.
The processed form for the given entity type and bundle.
field_ui_display_overview_multistep_submit()
Drupal\field_ui\DisplayOverview::submit()
function field_ui_display_overview($entity_type, $bundle, $view_mode) {
$bundle = field_extract_bundle($entity_type, $bundle);
field_ui_inactive_message($entity_type, $bundle);
$display_overview = new DisplayOverview($entity_type, $bundle, $view_mode);
$form_state = array();
$form_state['build_info']['callback'] = array(
$display_overview,
'form',
);
$form_state['build_info']['args'] = array(
$entity_type,
$bundle,
$view_mode,
);
return drupal_build_form('field_ui_display_overview_form', $form_state);
}