mirror of
https://github.com/moodle/moodle.git
synced 2025-04-06 08:52:46 +02:00
MDL-73298 theme_boost: remove secondary nav from componentlibrary
This commit is contained in:
parent
51149a78cc
commit
83a41d7056
@ -76,6 +76,7 @@ $PAGE->set_title($title);
|
||||
$PAGE->requires->css($cssfile);
|
||||
$jsonfile = new moodle_url('/admin/tool/componentlibrary/hugo/site/data/my-index.json');
|
||||
$PAGE->requires->js_call_amd('tool_componentlibrary/loader', 'init', ['jsonfile' => $jsonfile->out()]);
|
||||
$PAGE->has_secondary_navigation_setter(false);
|
||||
|
||||
if (get_config('core', 'allowthemechangeonurl')) {
|
||||
$themes = core_component::get_plugin_list('theme');
|
||||
|
Loading…
x
Reference in New Issue
Block a user