PropertyValue.php in Form Builder 7.2
Namespace
Drupal\form_builder_webformFile
modules/webform/src/PropertyValue.phpView source
<?php
namespace Drupal\form_builder_webform;
/**
* Special handling for $component['value'].
*/
class PropertyValue extends Property {
/**
* {@inheritdoc}
*/
public function setValue(&$component, $value) {
if (is_array($value)) {
$value = implode(',', $value);
}
parent::setValue($component, $value);
}
}
Classes
Name | Description |
---|---|
PropertyValue | Special handling for $component['value']. |