I’m trying to adjust the position of a ToggleCompositeField and all of its children in the CMS field order. With a ‘normal’ field (myTextField) I would do something like:
public function getCMSFields() {
$fields = parent::getCMSFields();
//other fields...
$fields->addFieldToTab('Root.Main', $fields->dataFieldByName('myTextField'));
How can I do this with a ToggleCompositeField?