Published checkbox field displaying in form footer instead of node options In d8.4:

The Published checkbox field, which is part of the publishing options set of fields, is displaying at the bottom of the node edit form instead of with the other publishing options fields.

See screenshot:



I've tried reposition using the Field Group module and also unsetting the form with unset($form['options']['status']); and other variations with no success.

All I'd like is for that field to be included in the promotion options fieldset with the rest of the options.

The field is displaying in div.layout-region-node-footer - I' can't track down where that themeing is taking place.

Any help would be appreciated.
NodeForm.php defaults the position to the 'footer' group:

$form['status']['#group'] = 'footer';


In a custom module or your theme, this can be set to the 'main' section:

/*
* Implements hook_form_BASE_FORM_ID_alter()
* @param     Array $form, Object $form_state, Array $form_id
* @return    Array $form
*/
function MY_MODULE_form_node_form_alter(&amp;$form, FormStateInterface $form_state,  $form_id) {

    // NodeForm.php defaults this to 'footer'.
    // Set to 'main' so we can reposition it in 'Manage form display'.
    $form['status']['#group'] = 'main';

  return $form;
}


After this, it can be repositioned in 'Manage form display'.