Do we need renderers in new plugins at all?

Re: Do we need renderers in new plugins at all?

by Tim Hunt -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Oops! yes. Should be protected.

Regarding templateable & renderable classes, there are two cases:

If the class only exists to facilitate output, then it should be in the output sub-namespace.

If the class represents something real, that can also be output, then it probably should not be in the output sub-namespace.