Skip to content
Snippets Groups Projects
Commit 1e03b877 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #961412 by yched, andypost: improved documentation of formatter settings.

parent 9f64d0e4
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -173,6 +173,10 @@ function hook_field_formatter_settings_form($field, $instance, $view_mode, $form
/**
* Returns a short summary for the current formatter settings of an instance.
*
* If an empty result is returned, the formatter is asuumed to have no
* configurable settings, and no UI will be provided to display a settings
* form.
*
* @param $field
* The field structure.
* @param $instance
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment