2 * Implements hook_entity_extra_field_info_alter().
4 function {{ machine_name }}_entity_extra_field_info_alter(&$info) {
5 // Force node title to always be at the top of the list by default.
6 foreach (NodeType::loadMultiple() as $bundle) {
7 if (isset($info['node'][$bundle->id()]['form']['title'])) {
8 $info['node'][$bundle->id()]['form']['title']['weight'] = -20;