Review main Merged

77949[TASK] Deprecate TBE_STYLES stylesheet and stylesheet2

Torben Hansen CR +2 V +2 Normal +78 −0 updated 02/27/23, 09:11

Commit message

The rarely used and undocumented configuration declarations

* `$GLOBALS['TBE_STYLES']['stylesheet']`
* `$GLOBALS['TBE_STYLES']['stylesheet2']`

have been added with Kasper's "Initial revision" in 2003 and are
problematic, when two extensions use the same configuration declaration.

Since TYPO3 4.4 it is possible to include CSS stylesheets for the TYPO3
backend using a custom skin configuration as shown below:

`$GLOBALS['TBE_STYLES']['skins']['my_extension']['stylesheetDirectories'][]`

The configuration declarations `$GLOBALS['TBE_STYLES']['stylesheet']`
and `$GLOBALS['TBE_STYLES']['stylesheet2']` have therefore been marked
as deprecated and will be removed in TYPO3 13.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3