Merge branch 'MDL-82160-404' of https://github.com/roland04/moodle into MOODLE_404_STABLE

This commit is contained in:
Sara Arjona
2024-06-25 16:00:06 +02:00
+11
View File
@@ -4644,6 +4644,17 @@ EOD;
return $this->render($contextheader);
}
/**
* Renders the header bar.
*
* @param context_header $contextheader Header bar object.
* @return string HTML for the header bar.
*/
protected function render_context_header(context_header $contextheader) {
$context = $contextheader->export_for_template($this);
return $this->render_from_template('core/context_header', $context);
}
/**
* Renders the skip links for the page.
*