You are here

public function ExtraFieldComponent::setExtraField in Flexiform 8

Set the extra field definition.

File

src/Plugin/FormComponentType/ExtraFieldComponent.php, line 24

Class

ExtraFieldComponent
Component class for extra fields.

Namespace

Drupal\flexiform\Plugin\FormComponentType

Code

public function setExtraField(array $extra_field) {
  $this->extraField = $extra_field;
}