Examples

Simple language field

EXT:myExtension/Configuration/Overrides/someTable.php
<?php

$GLOBALS['TCA'][$someTable]['columns'][$someLanguageField] = [
    'label' => 'Some language field',
    'config' => [
        'type' => 'language',
    ],
];
Copied!