forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-82212 core: Add a mechanism to deprecate icons
A new method, get_deprecated_icons(), has been added to the icon_system class. All deprecated icons should be registered through this method. When $CFG->debugpageinfo is enabled, a console message will display a list of the deprecated icons.
- Loading branch information
Showing
4 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
issueNumber: MDL-78334 | ||
notes: | ||
core: | ||
- message: >- | ||
A new method, get_deprecated_icons(), has been added to the icon_system | ||
class. All deprecated icons should be registered through this method. | ||
Plugins can implement a callback to pluginname_get_deprecated_icons() to | ||
register their deprecated icons too. | ||
When $CFG->debugpageinfo is enabled, a console message will display a | ||
list of the deprecated icons. | ||
type: improved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters