You are here

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_webform

Code

public function setValue(&$component, $value) {
  if (is_array($value)) {
    $value = implode(',', $value);
  }
  parent::setValue($component, $value);
}