Node Edit Form and twig template - confusion on where some values come from
When you xdebug $variables in a preprocess hook

function mymodule/mytheme_preprocess_node_edit_form(&amp;$variables) {

}


you find $variables['form']['actions'] and the other form elements. You can also install a module to set a breakpoint in the twig template directly, see https://www.drupal.org/docs/8/theming/twig/debugging-twig-templates

What you now have is probably the form build $form in a different place.