diff --git a/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php b/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php index 6136076..59fddd5 100644 --- a/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php +++ b/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php @@ -33,7 +33,7 @@ public static function publishedBaseFieldDefinitions(EntityTypeInterface $entity } return [$entity_type->getKey('published') => BaseFieldDefinition::create('boolean') - ->setLabel(new TranslatableMarkup('Publishing status')) + ->setLabel(new TranslatableMarkup('Published')) ->setRevisionable(TRUE) ->setTranslatable(TRUE) ->setDefaultValue(TRUE)]; diff --git a/core/modules/language/tests/src/Functional/LanguageNegotiationUrlTest.php b/core/modules/language/tests/src/Functional/LanguageNegotiationUrlTest.php index 8472ff7..07ae85d 100644 --- a/core/modules/language/tests/src/Functional/LanguageNegotiationUrlTest.php +++ b/core/modules/language/tests/src/Functional/LanguageNegotiationUrlTest.php @@ -70,7 +70,7 @@ public function testDomain() { 'title[0][value]' => 'Test', 'path[0][alias]' => '/eng/test', ]; - $this->drupalPostForm('node/add/article', $nodeValues, $this->t('Save and publish')); + $this->drupalPostForm('node/add/article', $nodeValues, $this->t('Save')); $this->assertSession()->statusCodeEquals(200); } diff --git a/core/modules/node/src/Entity/Node.php b/core/modules/node/src/Entity/Node.php index 87bad2b..ecbfdca 100644 --- a/core/modules/node/src/Entity/Node.php +++ b/core/modules/node/src/Entity/Node.php @@ -405,7 +405,7 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) { ]) ->setDisplayConfigurable('form', TRUE); - $fields['status']->setLabel(t('Published')) + $fields['status'] ->setDisplayOptions('form', array( 'type' => 'boolean_checkbox', 'settings' => array(