Permalink
Browse files

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

  • Loading branch information...
1 parent 661777c commit 2cd5d3c03ce66015d9eab046303768a99dc75b7b @jonof jonof committed with Sam Hemelryk Mar 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/navigationlib.php
View
4 lib/navigationlib.php
@@ -3737,7 +3737,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
@@ -4144,7 +4144,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

0 comments on commit 2cd5d3c

Please sign in to comment.