MDL-72463 courseformat: Add missing docs

This commit is contained in:
Andrew Nicols 2021-10-05 11:54:27 +08:00 committed by Eloy Lafuente (stronk7)
parent b7687bfef8
commit fa72197258

View File

@ -99,6 +99,11 @@ class format_weeks extends core_courseformat\base {
}
}
/**
* 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');
}