You are here

protected function YamlFormSubmissionForm::getYamlForm in YAML Form 8

Get the form submission's form.

Return value

\Drupal\yamlform\YamlFormInterface A form.

8 calls to YamlFormSubmissionForm::getYamlForm()
YamlFormSubmissionForm::actions in src/YamlFormSubmissionForm.php
Returns an array of supported actions for the current entity form.
YamlFormSubmissionForm::buildForm in src/YamlFormSubmissionForm.php
Form constructor.
YamlFormSubmissionForm::checkTotalLimit in src/YamlFormSubmissionForm.php
Check form submission total limits.
YamlFormSubmissionForm::checkUserLimit in src/YamlFormSubmissionForm.php
Check form submission user limit.
YamlFormSubmissionForm::displayMessages in src/YamlFormSubmissionForm.php
Display draft and previous submission status messages for this form submission.

... See full list

File

src/YamlFormSubmissionForm.php, line 1418

Class

YamlFormSubmissionForm
Provides a form to collect and edit submissions.

Namespace

Drupal\yamlform

Code

protected function getYamlForm() {

  /** @var \Drupal\yamlform\YamlFormSubmissionInterface $yamlform_submission */
  $yamlform_submission = $this
    ->getEntity();
  return $yamlform_submission
    ->getYamlForm();
}