Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-32191 navigation: Add keys to module and block settings nav nodes

  • Loading branch information...
commit f2237bd7dc155fe0ad193b5781340ed7d5690179 1 parent 14e8af6
@jonof jonof authored samhemelryk committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/navigationlib.php
View
4 lib/navigationlib.php
@@ -3776,7 +3776,7 @@ protected function load_module_settings() {
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 @@ protected function generate_user_settings($courseid, $userid, $gstitle='usercurr
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
Please sign in to comment.
Something went wrong with that request. Please try again.