You are here

public function PatternDefinitionSetting::setDescription in UI Patterns Settings 8

Same name and namespace in other branches
  1. 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\Definition

Code

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