MDL-65978 blog: Preparatory API changes

This commit is contained in:
Juan Leyva
2024-02-29 16:18:21 +01:00
parent e567c21d6e
commit 98daf57a8d
9 changed files with 56 additions and 11 deletions
+6
View File
@@ -393,6 +393,12 @@ class api {
$settings->tool_dataprivacy_showdataretentionsummary = get_config('tool_dataprivacy', 'showdataretentionsummary');
}
if (empty($section) || $section === 'blog') {
$settings->useblogassociations = $CFG->useblogassociations;
$settings->bloglevel = $CFG->bloglevel;
$settings->blogusecomments = $CFG->blogusecomments;
}
if (empty($section) || $section === 'h5psettings') {
\core_h5p\local\library\autoloader::register();
$customcss = \core_h5p\file_storage::get_custom_styles();