SilverStripe\Widgets\Model\Widget::Content
Renders the widget content in a custom template with the same name as the current class. This should be the main point of output customization.
Invoked from within WidgetHolder.ss, which contains the "framing" around the custom content, like a title. Note: Overloaded in .
Signature
public function Content()
Returns
- string
- HTML