function EntityDisplayFormBase::thirdPartySettingsForm

Same name in other branches
  1. 9 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::thirdPartySettingsForm()
  2. 8.9.x core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::thirdPartySettingsForm()
  3. 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
EntityViewDisplayEditForm::thirdPartySettingsForm in core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php

File

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

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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.