mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-32191 navigation: Add keys to module and block settings nav nodes
This commit is contained in:
parent
14e8af6687
commit
f2237bd7dc
1 changed files with 2 additions and 2 deletions
|
@ -3776,7 +3776,7 @@ class settings_navigation extends navigation_node {
|
|||
require_once($file);
|
||||
}
|
||||
|
||||
$modulenode = $this->add(get_string('pluginadministration', $this->page->activityname));
|
||||
$modulenode = $this->add(get_string('pluginadministration', $this->page->activityname), null, self::TYPE_SETTING, null, 'modulesettings');
|
||||
$modulenode->force_open();
|
||||
|
||||
// Settings for the module
|
||||
|
@ -4157,7 +4157,7 @@ class settings_navigation extends navigation_node {
|
|||
protected function load_block_settings() {
|
||||
global $CFG;
|
||||
|
||||
$blocknode = $this->add(print_context_name($this->context));
|
||||
$blocknode = $this->add(print_context_name($this->context), null, self::TYPE_SETTING, null, 'blocksettings');
|
||||
$blocknode->force_open();
|
||||
|
||||
// Assign local roles
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue