You are here

public function PropertyBase::__construct in Form Builder 7.2

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 PropertyInterface::__construct

1 call to PropertyBase::__construct()
Property::__construct in modules/webform/src/Property.php
Construct a new instance of this property class.
1 method overrides PropertyBase::__construct()
Property::__construct in modules/webform/src/Property.php
Construct a new instance of this property class.

File

src/PropertyBase.php, line 14

Class

PropertyBase

Namespace

Drupal\form_builder

Code

public function __construct($property, $params, $form_type_name) {
  $this->property = $property;
  $this->params = $params;
  $this->formTypeName = $form_type_name;
}