Skip to content

Commit

Permalink
[FEATURE] #101908 - Auto-create DB fields from TCA columns for type "…
Browse files Browse the repository at this point in the history
…group" (#802)

Related: TYPO3-Documentation/Changelog-To-Doc#660
Releases: main
  • Loading branch information
brotkrueml authored Oct 11, 2023
1 parent 4418c72 commit 7941680
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Documentation/ColumnsConfig/Type/Group/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ Group fields
the old combination of :php:`type => 'group'` together with
:php:`internal_type => 'folder'`.

.. versionadded:: 13.0
When using the `group` type, TYPO3 takes care of
:ref:`generating the according database field <t3coreapi:auto-generated-db-structure>`.
A developer does not need to define this field in an extension's
:file:`ext_tables.sql` file.


The group element (:php:`type' => 'group'`) in TYPO3 makes it possible to create references from a record of one table to many records from multiple tables in the system. The foreign tables can be the table itself (thus a self-reference) or any other table.
This is especially useful (compared to the "select" type) when records are scattered over the page tree and require
the Element Browser to select records for adding them to the group field.
Expand Down

0 comments on commit 7941680

Please sign in to comment.