public function WebformMessageManager::setWebform in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformMessageManager.php \Drupal\webform\WebformMessageManager::setWebform()
Set the webform used for custom messages and token replacement.
Parameters
\Drupal\webform\WebformInterface $webform: A webform.
Overrides WebformMessageManagerInterface::setWebform
File
- src/
WebformMessageManager.php, line 151
Class
- WebformMessageManager
- Defines the webform message (and login) manager.
Namespace
Drupal\webformCode
public function setWebform(WebformInterface $webform = NULL) {
$this->webform = $webform;
}