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\DefinitionCode
public function setDescription($description) {
$this->definition['description'] = $description;
return $this;
}