SilverStripe\Widgets\Model\Widget::forTemplate
Default way to render widget in templates.
Signature
public function forTemplate([boolean
$holder = true] )
Parameters
$holder
— boolean
Returns
- string
- HTML
public function forTemplate([boolean
$holder = true] )
$holder
—
boolean