Skip to content

Commit 028f94d

Browse files
committed
bugfix: fix activity icon
1 parent b5ce31e commit 028f94d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib.php

+10
Original file line numberDiff line numberDiff line change
@@ -564,3 +564,13 @@ function hvp_get_coursemodule_info($coursemodule) {
564564

565565
return $info;
566566
}
567+
568+
/**
569+
* Whether the activity is branded.
570+
* This information is used, for instance, to decide if a filter should be applied to the icon or not.
571+
*
572+
* @return bool True if the activity is branded, false otherwise.
573+
*/
574+
function hvp_is_branded(): bool {
575+
return true;
576+
}

0 commit comments

Comments
 (0)