You are here

public function YamlFormSubmissionInterface::getSourceEntity in YAML Form 8

Gets the form submission's source entity.

Return value

\Drupal\Core\Entity\EntityInterface|null The entity that this form submission was created from.

1 method overrides YamlFormSubmissionInterface::getSourceEntity()
YamlFormSubmission::getSourceEntity in src/Entity/YamlFormSubmission.php
Gets the form submission's source entity.

File

src/YamlFormSubmissionInterface.php, line 280

Class

YamlFormSubmissionInterface
Provides an interface defining a form submission entity.

Namespace

Drupal\yamlform

Code

public function getSourceEntity();