mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-71457 theme_boost: activity icon styling
This commit is contained in:
parent
5958c0df0c
commit
f2ddd23ec1
44 changed files with 319 additions and 158 deletions
|
@ -172,7 +172,7 @@ function label_reset_userdata($data) {
|
|||
* @uses FEATURE_GRADE_HAS_GRADE
|
||||
* @uses FEATURE_GRADE_OUTCOMES
|
||||
* @param string $feature FEATURE_xx constant for requested feature
|
||||
* @return bool|null True if module supports feature, false if not, null if doesn't know
|
||||
* @return mixed True if module supports feature, false if not, null if doesn't know or string for the module purpose.
|
||||
*/
|
||||
function label_supports($feature) {
|
||||
switch($feature) {
|
||||
|
@ -186,6 +186,7 @@ function label_supports($feature) {
|
|||
case FEATURE_MOD_ARCHETYPE: return MOD_ARCHETYPE_RESOURCE;
|
||||
case FEATURE_BACKUP_MOODLE2: return true;
|
||||
case FEATURE_NO_VIEW_LINK: return true;
|
||||
case FEATURE_MOD_PURPOSE: return MOD_PURPOSE_CONTENT;
|
||||
|
||||
default: return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue