You are here

public function FieldWidgetComponent::setFieldDefinition in Flexiform 8

Set the field definition.

File

src/Plugin/FormComponentType/FieldWidgetComponent.php, line 74

Class

FieldWidgetComponent
Component class for field widgets.

Namespace

Drupal\flexiform\Plugin\FormComponentType

Code

public function setFieldDefinition(FieldDefinitionInterface $field_definition) {
  $this->fieldDefinition = $field_definition;
}