You are here

public function FormBuilderWebformProperty::__construct in Form Builder 7

Construct a new instance of this property class.

Parameters

string $property: Name of the property to be manipulated by this object.

array $params: Additional parameters passed to hook_form_builder_properties().

Overrides FormBuilderPropertyBase::__construct

File

modules/webform/form_builder_webform.classes.inc, line 210

Class

FormBuilderWebformProperty

Code

public function __construct($property, $params, $form_type_name) {
  $params += array(
    'storage_parents' => array(
      $property,
    ),
  );
  parent::__construct($property, $params, $form_type_name);
  $this->storageParents = $params['storage_parents'];
}