public function DefaultWizardOperation::buildForm in Flexiform 8
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides FormInterface::buildForm
File
- contrib/wizard/ src/ Form/ DefaultWizardOperation.php, line 70 
Class
- DefaultWizardOperation
- Default class for flexiform wizard operations.
Namespace
Drupal\flexiform_wizard\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
  $cached_values = $form_state
    ->getTemporaryValue('wizard');
  $this
    ->getFormDisplay()
    ->buildAdvancedForm($cached_values['entities'], $form, $form_state);
  return $form;
}