Sets the form display.
Sets the form display which will be used for populating form element defaults.
\Drupal\entity\EntityFormDisplayInterface $form_display: The form display that the current form operates with.
array $form_state: An associative array containing the current state of the form.
Overrides EntityFormControllerInterface::setFormDisplay
public function setFormDisplay(EntityFormDisplayInterface $form_display, array &$form_state) {
$form_state['form_display'] = $form_display;
return $this;
}