You are here

public function WebformMessageManagerInterface::setWebform in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformMessageManagerInterface.php \Drupal\webform\WebformMessageManagerInterface::setWebform()

Set the webform used for custom messages and token replacement.

Parameters

\Drupal\webform\WebformInterface $webform: A webform.

1 method overrides WebformMessageManagerInterface::setWebform()
WebformMessageManager::setWebform in src/WebformMessageManager.php
Set the webform used for custom messages and token replacement.

File

src/WebformMessageManagerInterface.php, line 188

Class

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

Namespace

Drupal\webform

Code

public function setWebform(WebformInterface $webform = NULL);