You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extensions can now register their custom icons via a configuration file
placed in Configuration/Icons.php of their extension directory, e.g. typo3conf/ext/my_extension/Configuration/Icons.php.
Each file needs to return a flat PHP configuration array, with custom
options used for the IconRegistry to register a new icon.
Using the new approach improves the loading speed of every request as
the registration can be handled at once and cached during warmup of the
core caches.
In addition, extension authors' ext_localconf.php files are
drastically reduced, as extension authors have a better overview and a
better separation of concerns when registering custom functionality.
PHP-API, ext:core
The text was updated successfully, but these errors were encountered:
Feature: #94692 - Registering Icons via Service Container
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.4/Feature-94692-RegisteringIconsViaServiceContainer.html
Feature: #94692 - Registering Icons via Service Container
See 94692
Description
Extensions can now register their custom icons via a configuration file
placed in
Configuration/Icons.php
of their extension directory, e.g.typo3conf/ext/my_extension/Configuration/Icons.php
.Each file needs to return a flat PHP configuration array, with custom
options used for the IconRegistry to register a new icon.
Example:
Impact
Using the new approach improves the loading speed of every request as
the registration can be handled at once and cached during warmup of the
core caches.
In addition, extension authors'
ext_localconf.php
files aredrastically reduced, as extension authors have a better overview and a
better separation of concerns when registering custom functionality.
PHP-API, ext:core
The text was updated successfully, but these errors were encountered: