mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
navigation MDL-14632 Gave Front page settings a named key so that it can be closed if someone ever wants to close it by default
This commit is contained in:
parent
a6e34701cb
commit
152fdf934d
@ -2894,7 +2894,7 @@ class settings_navigation extends navigation_node {
|
||||
}
|
||||
if (has_capability('moodle/course:update', $course->context)) {
|
||||
|
||||
$frontpage = $this->add(get_string('frontpagesettings'));
|
||||
$frontpage = $this->add(get_string('frontpagesettings'), null, self::TYPE_SETTING, null, 'frontpage');
|
||||
$this->get($frontpage)->id = 'frontpagesettings';
|
||||
$this->get($frontpage)->forceopen = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user