-
Improvement
-
Resolution: Fixed
-
Minor
-
2.9
-
MOODLE_29_STABLE
-
MOODLE_29_STABLE
-
MDL-49650-master -
The idea is that a special comment could be added to the template that would mark it as suitable for displaying in the tool. The comment can include sample "context" data in json format so that the tool can render the template with some sample content.
This would then allow you to view all the defined templates in a custom theme, or switch languages etc.
This tool does not necessarily have to be in core (there are mixed opinions on dev tools in core). It can live in plugin land as long as the syntax for the comments is agreed - and added to core templates by default.
This issue supersedes MDL-45828 (Element library).