function ExampleConfigEntityExistingForm::buildForm
Same name in other branches
- 4.0.x tests/modules/ctools_wizard_test/src/Form/ExampleConfigEntityExistingForm.php \Drupal\ctools_wizard_test\Form\ExampleConfigEntityExistingForm::buildForm()
Overrides FormInterface::buildForm
File
-
tests/
modules/ ctools_wizard_test/ src/ Form/ ExampleConfigEntityExistingForm.php, line 23
Class
- ExampleConfigEntityExistingForm
- Simple wizard step form.
Namespace
Drupal\ctools_wizard_test\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form['existing'] = [
'#markup' => '<p>This step only shows if the entity is already existing!</p>',
];
return $form;
}