You are here

class PropertyValue in Form Builder 7.2

Special handling for $component['value'].

Hierarchy

Expanded class hierarchy of PropertyValue

1 file declares its use of PropertyValue
form_builder_webform.module in modules/webform/form_builder_webform.module
Form Builder integration for the Webform module.

File

modules/webform/src/PropertyValue.php, line 8

Namespace

Drupal\form_builder_webform
View source
class PropertyValue extends Property {

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

}

Members

Namesort descending Modifiers Type Description Overrides
Property::$storageParents protected property
Property::form public function Generate form-API elements for editing this property.
Property::getValue public function Read the value from a component array.
Property::__construct public function Construct a new instance of this property class. Overrides PropertyBase::__construct
PropertyBase::$formTypeName protected property 1
PropertyBase::$params protected property 1
PropertyBase::$property protected property 1
PropertyBase::submit public function Submit handler for the editing form(). Overrides PropertyInterface::submit 1
PropertyValue::setValue public function Overrides Property::setValue