You are here

public function FieldGroupFormatterInterface::settingsForm in Field Group 8

Same name and namespace in other branches
  1. 8.3 src/FieldGroupFormatterInterface.php \Drupal\field_group\FieldGroupFormatterInterface::settingsForm()

Returns a form to configure settings for the formatter.

Invoked in field_group_field_ui_display_form_alter to allow administrators to configure the formatter. The field_group module takes care of handling submitted form values.

Return value

array The form elements for the formatter settings.

1 method overrides FieldGroupFormatterInterface::settingsForm()
FieldGroupFormatterBase::settingsForm in src/FieldGroupFormatterBase.php
Returns a form to configure settings for the formatter.

File

src/FieldGroupFormatterInterface.php, line 34

Class

FieldGroupFormatterInterface
Interface definition for fieldgroup formatter plugins.

Namespace

Drupal\field_group

Code

public function settingsForm();