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