public function YamlFormSubmission::getYamlForm in YAML Form 8
Gets the form submission's form entity.
Return value
\Drupal\yamlform\YamlFormInterface The form entity.
Overrides YamlFormSubmissionInterface::getYamlForm
2 calls to YamlFormSubmission::getYamlForm()
- YamlFormSubmission::invokeYamlFormElements in src/
Entity/ YamlFormSubmission.php - Invoke a form element elements method.
- YamlFormSubmission::invokeYamlFormHandlers in src/
Entity/ YamlFormSubmission.php - Invoke all form handlers method.
File
- src/
Entity/ YamlFormSubmission.php, line 379
Class
- YamlFormSubmission
- Defines the YamlFormSubmission entity.
Namespace
Drupal\yamlform\EntityCode
public function getYamlForm() {
if (isset($this->yamlform_id->entity)) {
return $this->yamlform_id->entity;
}
else {
return self::$yamlform;
}
}