public function WebformMessageManagerInterface::setSourceEntity in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformMessageManagerInterface.php \Drupal\webform\WebformMessageManagerInterface::setSourceEntity()
Set the webform source entity whose submissions are being exported.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: An entity.
1 method overrides WebformMessageManagerInterface::setSourceEntity()
- WebformMessageManager::setSourceEntity in src/
WebformMessageManager.php - Set the webform source entity whose submissions are being exported.
File
- src/
WebformMessageManagerInterface.php, line 196
Class
- WebformMessageManagerInterface
- Provides an interface for managing a webform's custom, default, and hard-coded messages.
Namespace
Drupal\webformCode
public function setSourceEntity(EntityInterface $entity = NULL);