You are here

public function WebformMessageManagerInterface::setSourceEntity in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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\webform

Code

public function setSourceEntity(EntityInterface $entity = NULL);