General developer forum

Regarding myoverview block overriding in theme

 
Picture of Fabio Uzeltinger
Re: Regarding myoverview block overriding in theme
 

theme/vakmoodle/classes/output/block_myoverview_renderer.php

namespace theme_vakmoodle\output;
use block_myoverview\output\main;
class block_myoverview_renderer extends \block_myoverview\output\renderer {
    public function render_main(main $main) {
        return 'done';
    }
}


please, let me know if is correct

 
Average of ratings: -