public function Webform::setDescription in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::setDescription()
Sets a webform's description.
Parameters
string $description: A description.
Return value
$this
Overrides WebformInterface::setDescription
File
- src/
Entity/ Webform.php, line 888
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function setDescription($description) {
$this->description = $description;
return $this;
}