From 3d122e4f9b164e638e9fe788b29261c42b100ab3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 21 Dec 2023 07:20:15 +0100 Subject: [PATCH] [Backport 12.4] Add snippet in ext_localconf.php for custom FieldInformation (#892) Co-authored-by: Sybille Peters --- .../CommonProperties/FieldInformation.rst | 23 +++++++++++++++---- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/Documentation/ColumnsConfig/CommonProperties/FieldInformation.rst b/Documentation/ColumnsConfig/CommonProperties/FieldInformation.rst index f662046d..574d947f 100644 --- a/Documentation/ColumnsConfig/CommonProperties/FieldInformation.rst +++ b/Documentation/ColumnsConfig/CommonProperties/FieldInformation.rst @@ -21,7 +21,7 @@ fieldInformation In contrast to "fieldWizard", HTML returned by fieldInformation is limited, see :ref:`FormEngine docs ` for more details. -.. hint:: +.. hint:: :php:`fieldInformation` is not implemented by default. Use :ref:`columns-properties-description` to display general information below a fields title. @@ -61,13 +61,13 @@ The implementation can be found in https://github.com/georgringer/news/blob/9.4. .. code-block:: php 'NewsStaticText', + 'priority' => 70, + 'class' => \GeorgRinger\News\Backend\FieldInformation\StaticText::class + ]; +