function FieldUiTestHooks::fieldFormatterThirdPartySettingsForm

Implements hook_field_formatter_third_party_settings_form().

We add an empty hook implementation to test it does not result in a fatal error in \Drupal\field_ui\Form\EntityViewDisplayEditForm::thirdPartySettingsForm.

@link https://www.drupal.org/project/drupal/issues/3552531

Attributes

#[Hook('field_formatter_third_party_settings_form')]

See also

\Drupal\field_ui\Form\EntityViewDisplayEditForm::thirdPartySettingsForm

\Drupal\Tests\field_ui\Functional\FieldUIIndentationTest::testIndentation

File

core/modules/field_ui/tests/modules/field_ui_test/src/Hook/FieldUiTestHooks.php, line 112

Class

FieldUiTestHooks
Hook implementations for field_ui_test.

Namespace

Drupal\field_ui_test\Hook

Code

public function fieldFormatterThirdPartySettingsForm() : void {
  // Empty hook implementation.
}

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