diff --git a/core/modules/node/src/Entity/Node.php b/core/modules/node/src/Entity/Node.php index 844300e77d..6c2095f879 100644 --- a/core/modules/node/src/Entity/Node.php +++ b/core/modules/node/src/Entity/Node.php @@ -413,7 +413,7 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) { ], 'weight' => 120, ]) - ->setDisplayConfigurable('form', FALSE); + ->setDisplayConfigurable('form', TRUE); $fields['created'] = BaseFieldDefinition::create('created') ->setLabel(t('Authored on')) diff --git a/core/modules/options/tests/src/Functional/OptionsFieldUITest.php b/core/modules/options/tests/src/Functional/OptionsFieldUITest.php index 836740dc44..e29a1d0550 100644 --- a/core/modules/options/tests/src/Functional/OptionsFieldUITest.php +++ b/core/modules/options/tests/src/Functional/OptionsFieldUITest.php @@ -328,7 +328,7 @@ public function testNodeDisplay() { $edit = [ $this->fieldName => '1', ]; - $this->drupalPostForm('node/' . $node->id() . '/edit', $edit, t('Save and keep published')); + $this->drupalPostForm('node/' . $node->id() . '/edit', $edit, t('Save')); // Check the node page and see if the values are correct. $file_formatters = ['list_default', 'list_key']; diff --git a/core/themes/seven/templates/node-edit-form.html.twig b/core/themes/seven/templates/node-edit-form.html.twig index e69de29bb2..e89f642e56 100644 --- a/core/themes/seven/templates/node-edit-form.html.twig +++ b/core/themes/seven/templates/node-edit-form.html.twig @@ -0,0 +1,30 @@ +{# +/** + * @file + * Theme override for a node edit form. + * + * Two column template for the node add/edit form. + * + * This template will be used when a node edit form specifies 'node_edit_form' + * as its #theme callback. Otherwise, by default, node add/edit forms will be + * themed by form.html.twig. + * + * Available variables: + * - form: The node add/edit form. + * + * @see seven_form_node_form_alter() + */ +#} +
+
+ {{ form|without('advanced', 'status', 'actions') }} +
+
+ {{ form.advanced }} +
+ +