internal_type

internal_type
Required:true
Type:string
Scope:Display / Proc.

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.

There is no default value, the property is required.

Deprecated since version 9.5: The internal types file and file_reference 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

      'group_db_10' => [ 
         'exclude' => 1,
         'label' => 'group_db_10 allowed=pages size=1',
         'config' => [ 
            'type' => 'group',
            'internal_type' => 'db',
            'allowed' => 'pages',
            'maxitems' => 1,
            'minitems' => 0,
            'size' => 1,
            'default' => 0,
            'suggestOptions' => [ 
               'default' => [ 
                  'additionalSearchFields' => 'nav_title, alias, url',
                  'addWhere' => 'AND pages.doktype = 1',
               ],
            ],
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_group"

Internal type folder

      'group_folder_1' => [ 
         'exclude' => 1,
         'label' => 'group_folder_1 desription',
         'description' => 'field description',
         'config' => [ 
            'type' => 'group',
            'internal_type' => 'folder',
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_group"