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.
File
- src/
YamlFormSubmissionForm.php, line 1418
Class
- YamlFormSubmissionForm
- Provides a form to collect and edit submissions.
Namespace
Drupal\yamlformCode
protected function getYamlForm() {
/** @var \Drupal\yamlform\YamlFormSubmissionInterface $yamlform_submission */
$yamlform_submission = $this
->getEntity();
return $yamlform_submission
->getYamlForm();
}