Slice::addTemplateControlFields
Add built-in controls for preview and changing the template and visual options These are always visible and can't be hidden from the slices config
Signature
protected function addTemplateControlFields(FieldList
$fields,
array
$config )
Parameters
$fields
— FieldList
$config
— array