You are here

public function YamlForm::setDescription in YAML Form 8

Sets a form's description.

Parameters

string $description: A description.

Return value

$this

Overrides YamlFormInterface::setDescription

File

src/Entity/YamlForm.php, line 399

Class

YamlForm
Defines the form entity.

Namespace

Drupal\yamlform\Entity

Code

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