You are here

public function Webform::setDescription in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 889

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

public function setDescription($description) {
  $this->description = $description;
  return $this;
}