code: function(widget, options) {
        return self.widgetControlGroups(self.apos.templates.contextReq, widget, options);
      }
docs: Output the widget controls. The `addWidgetControlGroups` option can be used to append additional control groups. See the `widgetControlGroups` method for the format. That method can also be extended via the `super` pattern to make the decision dynamically.