Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.
internal_type
internal_type
-
- Path
-
$GLOBALS['TCA'][$table]['columns'][$field]['config']
- Required
-
false
- type
-
string
- Scope
-
Display / Proc.
- Default
-
db
Configures the internal type of the group type of the element. There are two possible options to choose from:
- folder
- This will create a field where folders can be attached to the record.
- db
- This will create a field where database records can be attached as references. As it is the default it can be omitted.
Deprecated since version 9.5
The internal types file
and file_
have been deprecated with
TYPO3 9 and removed with TYPO3 10. Extensions that used group fields
with these internal types should switch to use
FAL references based on
type=inline instead.
Examples
Internal type db
- group relation to a single page
[
'columns' => [
'group_db_10' => [
'exclude' => 1,
'label' => 'group_db_10 allowed=pages size=1',
'config' => [
'type' => 'group',
'allowed' => 'pages',
'maxitems' => 1,
'minitems' => 0,
'size' => 1,
'suggestOptions' => [
'default' => [
'additionalSearchFields' => 'nav_title, alias, url',
'addWhere' => 'AND pages.doktype = 1',
],
],
],
],
],
]
Internal type folder
[
'columns' => [
'group_folder_1' => [
'exclude' => 1,
'label' => 'group_folder_1 desription',
'description' => 'field description',
'config' => [
'type' => 'group',
'internal_type' => 'folder',
],
],
],
]