diff --git a/core/modules/book/config/install/core.base_field_override.node.book.promote.yml b/core/modules/book/config/install/core.base_field_override.node.book.promote.yml index 600d04a..00fc6b3 100644 --- a/core/modules/book/config/install/core.base_field_override.node.book.promote.yml +++ b/core/modules/book/config/install/core.base_field_override.node.book.promote.yml @@ -8,7 +8,7 @@ field_name: promote entity_type: node bundle: book label: Promote -description: 'A boolean indicating whether the node should be displayed on the front page.' +description: 'A boolean indicating whether the node should be marked as promoted.' required: false translatable: true default_value: diff --git a/core/modules/file/src/Tests/FileFieldRSSContentTest.php b/core/modules/file/src/Tests/FileFieldRSSContentTest.php index 7f04ac2..46d494c 100644 --- a/core/modules/file/src/Tests/FileFieldRSSContentTest.php +++ b/core/modules/file/src/Tests/FileFieldRSSContentTest.php @@ -52,7 +52,7 @@ function testFileFieldRSSContent() { $edit = array("fields[$field_name][type]" => 'file_rss_enclosure'); $this->drupalPostForm(NULL, $edit, t('Save')); - // Create a new node with a file field set. Promote to frontpage + // Create a new node with a file field set. Promote // needs to be set so this node will appear in the RSS feed. $node = $this->drupalCreateNode(array('type' => $type_name, 'promote' => 1)); $test_file = $this->getTestFile('text'); diff --git a/core/modules/forum/config/install/core.base_field_override.node.forum.promote.yml b/core/modules/forum/config/install/core.base_field_override.node.forum.promote.yml index c265238..15498f5 100644 --- a/core/modules/forum/config/install/core.base_field_override.node.forum.promote.yml +++ b/core/modules/forum/config/install/core.base_field_override.node.forum.promote.yml @@ -9,7 +9,7 @@ field_name: promote entity_type: node bundle: forum label: Promote -description: 'A boolean indicating whether the node should be displayed on the front page.' +description: 'A boolean indicating whether the node should be marked as promoted.' required: false translatable: true default_value: diff --git a/core/modules/migrate_drupal/src/Tests/Dump/Drupal6Node.php b/core/modules/migrate_drupal/src/Tests/Dump/Drupal6Node.php index 47b1330..076f877 100644 --- a/core/modules/migrate_drupal/src/Tests/Dump/Drupal6Node.php +++ b/core/modules/migrate_drupal/src/Tests/Dump/Drupal6Node.php @@ -84,7 +84,7 @@ public function load() { 'default' => 0, ), 'promote' => array( - 'description' => 'Boolean indicating whether the node should be displayed on the front page.', + 'description' => 'Boolean indicating whether the node should be marked as promoted.', 'type' => 'int', 'not null' => TRUE, 'default' => 0, diff --git a/core/modules/node/src/NodeViewsData.php b/core/modules/node/src/NodeViewsData.php index b3df204..a2ce056 100644 --- a/core/modules/node/src/NodeViewsData.php +++ b/core/modules/node/src/NodeViewsData.php @@ -63,7 +63,7 @@ public function getViewsData() { $data['node_field_data']['promote']['field']['output formats'] = [ 'promoted-notpromoted' => array(t('Promoted'), t('Not promoted')), ]; - $data['node_field_data']['promote']['filter']['label'] = t('Promoted to front page status'); + $data['node_field_data']['promote']['filter']['label'] = t('Promoted status'); $data['node_field_data']['promote']['filter']['type'] = 'yes-no'; $data['node_field_data']['sticky']['field']['output formats'] = [ diff --git a/core/profiles/standard/config/install/core.base_field_override.node.page.promote.yml b/core/profiles/standard/config/install/core.base_field_override.node.page.promote.yml index d3a0923..9a0d029 100644 --- a/core/profiles/standard/config/install/core.base_field_override.node.page.promote.yml +++ b/core/profiles/standard/config/install/core.base_field_override.node.page.promote.yml @@ -9,7 +9,7 @@ field_name: promote entity_type: node bundle: page label: Promote -description: 'A boolean indicating whether the node should be displayed on the front page.' +description: 'A boolean indicating whether the node should be marked as promoted.' required: false translatable: true default_value: