You are here

public function YamlFormInterface::getSubmissionForm in YAML Form 8

Get form submission form.

Parameters

array $values: (optional) An array of values to set, keyed by property name.

string $operation: (optional) The operation identifying the form variation to be returned. Defaults to 'default'. This is typically used in routing.

Return value

array A render array representing a form submission form.

1 method overrides YamlFormInterface::getSubmissionForm()
YamlForm::getSubmissionForm in src/Entity/YamlForm.php
Get form submission form.

File

src/YamlFormInterface.php, line 244

Class

YamlFormInterface
Provides an interface defining a form entity.

Namespace

Drupal\yamlform

Code

public function getSubmissionForm(array $values = [], $operation = 'default');