From 1e03b87733bbb0b69052742b7a47255245224a5b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 7 Nov 2010 21:53:11 +0000 Subject: - Patch #961412 by yched, andypost: improved documentation of formatter settings. --- modules/field_ui/field_ui.api.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/field_ui') diff --git a/modules/field_ui/field_ui.api.php b/modules/field_ui/field_ui.api.php index 0db4c01d3..0e031ba2f 100644 --- a/modules/field_ui/field_ui.api.php +++ b/modules/field_ui/field_ui.api.php @@ -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 -- cgit v1.2.3