You are here

public function PatternDefinitionField::setDescription in UI Patterns 8

Set Description property.

Parameters

string $description: Property value.

Return value

$this

File

src/Definition/PatternDefinitionField.php, line 91

Class

PatternDefinitionField
Class PatternDefinitionField.

Namespace

Drupal\ui_patterns\Definition

Code

public function setDescription($description) {
  $this->definition['description'] = $description;
  return $this;
}