Merge branch 'MDL-72163-310' of git://github.com/andrewnicols/moodle into MOODLE_310_STABLE
This commit is contained in:
@@ -811,6 +811,20 @@ class admin_category implements parentable_part_of_admin_tree {
|
||||
$this->hidden = $hidden;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the URL to view this page.
|
||||
*
|
||||
* @return moodle_url
|
||||
*/
|
||||
public function get_settings_page_url(): moodle_url {
|
||||
return new moodle_url(
|
||||
'/admin/category.php',
|
||||
[
|
||||
'category' => $this->name,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a reference to the part_of_admin_tree object with internal name $name.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user