Merge branch 'MDL-65438-master' of git://github.com/bmbrands/moodle
[moodle.git] / lib / outputlib.php
index 5a2c831..b568f28 100644 (file)
@@ -1107,6 +1107,8 @@ class theme_config {
             }
         }
 
+        // Allow themes to change the css url to something like theme/mytheme/mycss.php.
+        component_callback('theme_' . $this->name, 'alter_css_urls', [&$urls]);
         return $urls;
     }