MDL-78284 mod: Add new _is_branded() function
commit76474b6c595e74d78326db0e70f1b6c476903dc6
authorSara Arjona <sara@moodle.com>
Fri, 19 Jan 2024 15:32:55 +0000 (19 16:32 +0100)
committerSara Arjona <sara@moodle.com>
Thu, 15 Feb 2024 16:49:42 +0000 (15 17:49 +0100)
tree1759f60cf6b1cc1fb168142fa32f79b24a95e335
parent10f8e19f40ec641d95f0587ce653799bb4134c8b
MDL-78284 mod: Add new _is_branded() function

There is a new callback, <modname>_is_branded, which, by default,
returns false. It needs to be implemented by modules that want their
logo to be displayed as it is (so without applying any filter to
colour them based on their main purpose).
14 files changed:
course/classes/local/entity/content_item.php
course/classes/local/exporters/course_content_item_exporter.php
course/classes/local/repository/content_item_readonly_repository.php
course/externallib.php
course/format/classes/output/local/content/cm/cmicon.php
course/format/templates/local/content/cm/cmicon.mustache
course/templates/local/activitychooser/item.mustache
course/tests/content_item_test.php
course/tests/exporters_content_item_test.php
course/tests/externallib_test.php
mod/bigbluebuttonbn/lib.php
mod/h5pactivity/lib.php
mod/upgrade.txt
theme/boost/classes/output/core_renderer.php