From 63f936c935e38bab59aeb1991cd7e4e52e0d2e1e Mon Sep 17 00:00:00 2001 From: Simon Schaufelberger Date: Tue, 26 Nov 2024 13:23:42 +0100 Subject: [PATCH] Add documentation for fieldControl -> rendertype --- .../Group/_Properties/_FieldControl.rst.txt | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/Documentation/ColumnsConfig/Type/Group/_Properties/_FieldControl.rst.txt b/Documentation/ColumnsConfig/Type/Group/_Properties/_FieldControl.rst.txt index aa283c5c..be73cbe3 100644 --- a/Documentation/ColumnsConfig/Type/Group/_Properties/_FieldControl.rst.txt +++ b/Documentation/ColumnsConfig/Type/Group/_Properties/_FieldControl.rst.txt @@ -33,6 +33,16 @@ .. include:: /CodeSnippets/GroupDb1.rst.txt + .. confval:: renderType + :name: group-fieldcontrol-addrecord-rendertype + :type: string + :Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['addRecord']['renderType'] + :Required: true + :Default: addRecord + + Use a render type from core or your own. Custom render types can be + registered with the `NodeFactory `_. + .. confval:: editPopup :name: group-fieldControl-editPopup :Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl'] @@ -55,6 +65,16 @@ .. include:: /CodeSnippets/GroupDb1.rst.txt + .. confval:: renderType + :name: group-fieldcontrol-editpopup-rendertype + :type: string + :Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['editPopup']['renderType'] + :Required: true + :Default: editPopup + + Use a render type from core or your own. Custom render types can be + registered with the `NodeFactory `_. + .. confval:: listModule :name: group-fieldControl-listModule :Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl'] @@ -77,6 +97,16 @@ .. include:: /CodeSnippets/GroupDb1.rst.txt + .. confval:: renderType + :name: group-fieldcontrol-listmodule-rendertype + :type: string + :Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['listModule']['renderType'] + :Required: true + :Default: listModule + + Use a render type from core or your own. Custom render types can be + registered with the `NodeFactory `_. + .. confval:: elementBrowser :name: group-fieldControl-elementBrowser :Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl'] @@ -88,6 +118,17 @@ button to open an element browser. It is enabled by default if rendering a group element. + .. confval:: renderType + :name: group-fieldcontrol-elementbrowser-rendertype + :type: string + :Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['elementBrowser']['renderType'] + :Required: true + :Default: elementBrowser + + Use a render type from the Core or an Extension. Custom render types can be + registered with the `NodeFactory `_. + + .. confval:: insertClipboard :name: group-fieldControl-insertClipboard :Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl'] @@ -95,6 +136,16 @@ :Scope: fieldControl :Types: :ref:`group ` + .. confval:: renderType + :name: group-fieldcontrol-insertclipboard-rendertype + :type: string + :Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['insertClipboard']['renderType'] + :Required: true + :Default: insertClipboard + + Use a render type from core or your own. Custom render types can be + registered with the `NodeFactory `_. + The clipboard control adds a control button for :code:`type='group'` to paste records from a users clipboard into the selection. It is enabled by default for :code:`type='group'` and shown below the **element browser** if the