You are here

public function FieldWidgetComponent::getFieldDefinition in Flexiform 8

Get the field definition.

Return value

\Drupal\Core\Field\FieldDefinitionInterface The field definition.

4 calls to FieldWidgetComponent::getFieldDefinition()
FieldWidgetComponent::getRenderer in src/Plugin/FormComponentType/FieldWidgetComponent.php
Get the renderer.
FieldWidgetComponent::render in src/Plugin/FormComponentType/FieldWidgetComponent.php
Render the component in the form.
FieldWidgetComponent::settingsSummary in src/Plugin/FormComponentType/FieldWidgetComponent.php
Get the settings summary.
FieldWidgetComponent::thirdPartySettingsForm in src/Plugin/FormComponentType/FieldWidgetComponent.php

File

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

Class

FieldWidgetComponent
Component class for field widgets.

Namespace

Drupal\flexiform\Plugin\FormComponentType

Code

public function getFieldDefinition() {
  return $this->fieldDefinition;
}