Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] #101908 - Auto-create DB fields from TCA columns for type "group" #802

Merged
merged 1 commit into from
Oct 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading