You are here

PropertyValue.php in Form Builder 7.2

File

modules/webform/src/PropertyValue.php
View 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

Namesort descending Description
PropertyValue Special handling for $component['value'].