Skip to content

Commit

Permalink
MDL-72463 courseformat: Add missing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols authored and stronk7 committed Oct 5, 2021
1 parent b7687bf commit fa72197
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions course/format/weeks/lib.php
Expand Up @@ -99,6 +99,11 @@ public function get_default_section_name($section) {
}
}

/**
* Returns the name for the highlighted section.
*
* @return string The name for the highlighted section based on the given course format.
*/
public function get_section_highlighted_name(): string {
return get_string('currentsection', 'format_weeks');
}
Expand Down

0 comments on commit fa72197

Please sign in to comment.