Permalink
Browse files

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

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

0 comments on commit f2237bd

Please sign in to comment.