Actions
Feature #66822
closedAllow module menu items to use sprite icons
Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
Start date:
2015-05-07
Due date:
% Done:
100%
Estimated time:
PHP Version:
5.5
Tags:
Complexity:
Sprint Focus:
Description
In the course of the 7.x development, the main modules (web / file etc.)
have received a hard-coded list of fontawesome sprite icons. This way
it is not (easily) possible to override the icons and to give a custom
main module its own custom sprite icon.
A new property in the module configuration "icon" allows now to
hand in a sprite icon instead of a path to png/gif file.
At the same time the property handling for the "icon" property
inside the module menu is now simplified as a string instead
of an array with all additional information as everything is already
compiled together in the BackendModuleRepository.
All main modules shipped with the core now have proper icons
mapped inside ext_tables.php in the core.
Actions