You are here

public function PatternDefinition::setDescription in UI Patterns 8

Setter.

Parameters

string $description: Property value.

Return value

$this

File

src/Definition/PatternDefinition.php, line 403

Class

PatternDefinition
Class PatternDefinition.

Namespace

Drupal\ui_patterns\Definition

Code

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