You are here

public function PatternDefinitionSetting::setForcedValue 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::setForcedValue()

Set default value property.

Return value

mixed Property value.

File

src/Definition/PatternDefinitionSetting.php, line 151

Class

PatternDefinitionSetting
Class PatternDefinitionSetting.

Namespace

Drupal\ui_patterns_settings\Definition

Code

public function setForcedValue($forcedValue) {
  $this->definition['forced_value'] = $forcedValue;
  return $this;
}