You are here

abstract protected function EntityDisplayFormBase::thirdPartySettingsForm in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::thirdPartySettingsForm()
  2. 10 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::thirdPartySettingsForm()

Adds the widget or formatter third party settings forms.

Parameters

\Drupal\Core\Field\PluginSettingsInterface $plugin: The widget or formatter.

\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition.

array $form: The (entire) configuration form array.

\Drupal\Core\Form\FormStateInterface $form_state: The form state.

Return value

array The widget or formatter third party settings form.

1 call to EntityDisplayFormBase::thirdPartySettingsForm()
EntityDisplayFormBase::buildFieldRow in core/modules/field_ui/src/Form/EntityDisplayFormBase.php
Builds the table row structure for a single field.
2 methods override EntityDisplayFormBase::thirdPartySettingsForm()
EntityFormDisplayEditForm::thirdPartySettingsForm in core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php
Adds the widget or formatter third party settings forms.
EntityViewDisplayEditForm::thirdPartySettingsForm in core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php
Adds the widget or formatter third party settings forms.

File

core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 907

Class

EntityDisplayFormBase
Base class for EntityDisplay edit forms.

Namespace

Drupal\field_ui\Form

Code

protected abstract function thirdPartySettingsForm(PluginSettingsInterface $plugin, FieldDefinitionInterface $field_definition, array $form, FormStateInterface $form_state);