public function FormsStepsStepFormBase::buildForm in Forms Steps 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 EntityForm::buildForm
File
- src/
Form/ FormsStepsStepFormBase.php, line 77
Class
- FormsStepsStepFormBase
- Class FormsStepsStepFormBase.
Namespace
Drupal\forms_steps\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $forms_steps_step = NULL) {
$this->stepId = $forms_steps_step;
return parent::buildForm($form, $form_state);
}