public function PatternDefinitionSetting::setDescription in UI Patterns Settings 8
Same name and namespace in other branches
- 8.2 src/Definition/PatternDefinitionSetting.php \Drupal\ui_patterns_settings\Definition\PatternDefinitionSetting::setDescription()
Set Description property.
Parameters
string $description: Property value.
Return value
$this
File
- src/
Definition/ PatternDefinitionSetting.php, line 174
Class
- PatternDefinitionSetting
- Class PatternDefinitionSetting.
Namespace
Drupal\ui_patterns_settings\DefinitionCode
public function setDescription($description) {
$this->definition['description'] = $description;
return $this;
}