You are here

public function YamlFormMessageManagerInterface::setSourceEntity in YAML Form 8

Set the form source entity whose submissions are being exported.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: An entity.

1 method overrides YamlFormMessageManagerInterface::setSourceEntity()
YamlFormMessageManager::setSourceEntity in src/YamlFormMessageManager.php
Set the form source entity whose submissions are being exported.

File

src/YamlFormMessageManagerInterface.php, line 125

Class

YamlFormMessageManagerInterface
Provides an interface for managing a form's custom, default, and hard-coded messages.

Namespace

Drupal\yamlform

Code

public function setSourceEntity(EntityInterface $entity = NULL);