Skip to content

Commit

Permalink
Add documentation for fieldControl -> rendertype
Browse files Browse the repository at this point in the history
  • Loading branch information
simonschaufi committed Dec 2, 2024
1 parent 6ad4454 commit 1b4a543
Showing 1 changed file with 51 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://docs.typo3.org/permalink/t3coreapi:FormEngine-Rendering-NodeFactory>`_.

.. confval:: editPopup
:name: group-fieldControl-editPopup
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']
Expand All @@ -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 <https://docs.typo3.org/permalink/t3coreapi:FormEngine-Rendering-NodeFactory>`_.

.. confval:: listModule
:name: group-fieldControl-listModule
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']
Expand All @@ -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 <https://docs.typo3.org/permalink/t3coreapi:FormEngine-Rendering-NodeFactory>`_.

.. confval:: elementBrowser
:name: group-fieldControl-elementBrowser
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']
Expand All @@ -88,13 +118,34 @@
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 <https://docs.typo3.org/permalink/t3coreapi:FormEngine-Rendering-NodeFactory>`_.


.. confval:: insertClipboard
:name: group-fieldControl-insertClipboard
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']
:type: array
:Scope: fieldControl
:Types: :ref:`group <columns-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 <https://docs.typo3.org/permalink/t3coreapi:FormEngine-Rendering-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
Expand Down

0 comments on commit 1b4a543

Please sign in to comment.