To further streamline the usage of the Icon Registry, the reports
registration array now allows to define icon identifiers for the icon
key. Absolute paths and paths with EXT:
prefix are still possible.
Example:
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'] = [
'title' => 'LLL:EXT:reports/Resources/Private/Language/locallang_reports.xlf:status_report_title',
'icon' => 'module-reports', // Icon identifiers are now possible here.
'description' => 'LLL:EXT:reports/Resources/Private/Language/locallang_reports.xlf:status_report_description',
'report' => \TYPO3\CMS\Reports\Report\Status\Status::class
];
Impact
Developers are now able to provide icon identifiers in the reports
module registration array.
Feature: #94590 - Allow icon identifiers in report module registration
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.4/Feature-94590-AllowIconIdentifiersInReportModuleRegistration.html
Feature: #94590 - Allow icon identifiers in report module registration
See 94590
Description
To further streamline the usage of the Icon Registry, the reports registration array now allows to define icon identifiers for the
icon
key. Absolute paths and paths with EXT: prefix are still possible.Example:
Impact
Developers are now able to provide icon identifiers in the reports module registration array.