You are here

public function PatternDefinitionVariant::setDescription in UI Patterns 8

Set Description property.

Parameters

string $description: Property value.

Return value

$this

File

src/Definition/PatternDefinitionVariant.php, line 88

Class

PatternDefinitionVariant
Class PatternDefinitionVariant.

Namespace

Drupal\ui_patterns\Definition

Code

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