MDL-73633 navigation: Force 'Overrides' into the more menu by default
Forces the 'Overrides' item to be always displayed within the 'more' menu in the secondary navigation in the module context.
This commit is contained in:
@@ -154,7 +154,8 @@ class secondary extends view {
|
||||
*/
|
||||
protected function get_default_module_more_menu_nodes(): array {
|
||||
return ['roleoverride', 'rolecheck', 'logreport', 'roleassign', 'filtermanage', 'backup', 'restore',
|
||||
'competencybreakdown'];
|
||||
'competencybreakdown', "mod_{$this->page->activityname}_useroverrides",
|
||||
"mod_{$this->page->activityname}_groupoverrides"];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user