MDL-21143 theme renderers related refactoring, it should detect more problems now, there is also a list of core renderer subtypes, hopefully the api changes are improvements
This commit is contained in:
+1
-1
@@ -1147,7 +1147,7 @@ class block_manager {
|
||||
$editpage->set_title($strheading);
|
||||
$editpage->set_heading($strheading);
|
||||
|
||||
$output = $editpage->theme->get_renderer('core', $editpage);
|
||||
$output = $editpage->find_renderer('core');
|
||||
echo $output->header();
|
||||
echo $output->heading($strheading, 2);
|
||||
$mform->display();
|
||||
|
||||
Reference in New Issue
Block a user