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

Use Icon instead of IconSize #5002

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

julianhofmann
Copy link
Contributor

IconSize was introduced in v13 and Icon was deprecated. In v12, we still have to use the older way.

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.0/Deprecation-101475-IconSizeStringConstants.html

IconSize was introduced in v13 and Icon was deprecated. 
In v12, we still have to use the older way.

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.0/Deprecation-101475-IconSizeStringConstants.html
Copy link
Contributor

@brotkrueml brotkrueml left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR. However, the file is auto-generated from https://github.com/TYPO3-Documentation/t3docs-examples/blob/main/Classes/Controller/AdminModuleController.php, please adjust it there. Otherwise the change will be overridden on the next synchronisation.

@julianhofmann
Copy link
Contributor Author

Hm... The v12 version of that controller does not use IconSize (and the last change was 3 months ago): https://github.com/TYPO3-Documentation/t3docs-examples/blob/12.4/Classes/Controller/AdminModuleController.php#L96

@linawolf
Copy link
Member

linawolf commented Nov 8, 2024

I think this happened due to a backport that was going to far

@linawolf linawolf merged commit 302185e into TYPO3-Documentation:12.4 Nov 8, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants