You are here

public function FormsStepsProgressStepEditForm::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/FormsStepsProgressStepEditForm.php, line 32

Class

FormsStepsProgressStepEditForm
Class FormsStepsProgressStepEditForm.

Namespace

Drupal\forms_steps\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, $forms_steps_progress_step = NULL) {
  $this->progressStepId = $forms_steps_progress_step;
  return parent::buildForm($form, $form_state);
}