[TASK] Use FormDataProvider to provide system-languages
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Form / FormDataProvider / TcaSelectItems.php
index 547592e..fad9afd 100644 (file)
@@ -245,6 +245,7 @@ class TcaSelectItems extends AbstractItemProvider implements FormDataProviderInt
                 }
             }
         } elseif ($special === 'languages') {
+            // @todo: This should probably use the data provided by DatabaseSystemLanguageRows sitting in $result['systemLanguageRows']
             /** @var TranslationConfigurationProvider $translationConfigurationProvider */
             $translationConfigurationProvider = GeneralUtility::makeInstance(TranslationConfigurationProvider::class);
             $languages = $translationConfigurationProvider->getSystemLanguages();