MDL-77105 core: Add a filtericon parameter to course mod icon URLs
commit30b0b0cf40b5f8c764e86c8c58f2986cfe0f4d79
authorJun Pataleta <jun@moodle.com>
Fri, 10 Feb 2023 08:17:34 +0000 (10 16:17 +0800)
committerJun Pataleta <jun@moodle.com>
Mon, 27 Mar 2023 05:36:42 +0000 (27 13:36 +0800)
tree4403e306a7c19989e99fb033acd70b1f8c2f43e7
parent69948eda103573ceb38fc54f0d34f500460e6e2b
MDL-77105 core: Add a filtericon parameter to course mod icon URLs

* If a plugin defines a `filtericon` custom data or uses its monologo
version of the icon, a `filtericon` parameter is being added to the
icon's URL. This information can help plugins determine whether to
render the activity icon as is or with CSS filtering.
lib/modinfolib.php