mirror of
https://github.com/moodle/moodle.git
synced 2025-02-11 19:16:23 +01:00
This class was rolling its own version of get_template_name, which meant that calling code needed to first call get_template and was forced to use render_from_template(). This fixes that by implementing the named_templatable interface and the get_template_name method. Now, renderables that extend comboboxsearch can just be passed to render() for rendering.