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

Readme content - adding futher languages #28

Open
christen90 opened this issue May 7, 2024 · 1 comment
Open

Readme content - adding futher languages #28

christen90 opened this issue May 7, 2024 · 1 comment

Comments

@christen90
Copy link

Hello ervaude,
I had one finding regarding the readme.md

image

somehow this fits more to the structure
$GLOBALS['TCA']['tt_content']['columns']['programming_language']['config']['items'][] = ['label' => 'Python', 'value' => \DanielGoerz\FsCodeSnippet\Enumeration\CodeSnippetLanguage::PYTHON];

than

https://github.com/ervaude/fs_code_snippet/blame/d272336093327ef7087c58fe4a69550d4aac632d/Readme.md#L49
$GLOBALS['TCA']['tt_content']['columns']['programming_language']['config']['items'][] = ['Python' => \DanielGoerz\FsCodeSnippet\Enumeration\CodeSnippetLanguage::PYTHON];

@ervaude
Copy link
Owner

ervaude commented May 7, 2024

Hi @christen90

this is related to a TYPO3 v12 FEATURE: https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.3/Feature-99739-AssociativeArrayKeysForTCAItems.html#feature-99739-associative-array-keys-for-tca-items

I'll look into it when I release a version compatible with TYPO3 12 LTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants