public function PropertyValue::setValue in Form Builder 7.2
Overrides Property::setValue
File
- modules/
webform/ src/ PropertyValue.php, line 13
Class
- PropertyValue
- Special handling for $component['value'].
Namespace
Drupal\form_builder_webformCode
public function setValue(&$component, $value) {
if (is_array($value)) {
$value = implode(',', $value);
}
parent::setValue($component, $value);
}