diff --git a/core/modules/forum/forum.install b/core/modules/forum/forum.install index 1bc6915..2636f7b 100644 --- a/core/modules/forum/forum.install +++ b/core/modules/forum/forum.install @@ -12,7 +12,7 @@ function forum_install() { // Set the weight of the forum.module to 1 so it is loaded after the taxonomy.module. module_set_weight('forum', 1); // Forum topics are published by default, but do not have any other default - // options set (for example, they are not promoted to the front page). + // options set (for example, they are not promoted by default). // @todo Convert to default module configuration, once Node module's content // types are converted. variable_set('node_options_forum', array('status')); diff --git a/core/modules/node/lib/Drupal/node/Plugin/Core/Entity/Node.php b/core/modules/node/lib/Drupal/node/Plugin/Core/Entity/Node.php index c4d8109..2cfca09 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/Core/Entity/Node.php +++ b/core/modules/node/lib/Drupal/node/Plugin/Core/Entity/Node.php @@ -134,8 +134,9 @@ class Node extends EntityNG implements ContentEntityInterface { /** * The node promotion status. * - * Promoted nodes should be displayed on the front page of the site. The value - * is either NODE_PROMOTED or NODE_NOT_PROMOTED. + * Promoted nodes are displayed in certain listings of promoted content, e.g. + * on the default front page. The status is either NODE_PROMOTED or + * NODE_NOT_PROMOTED. * * @var \Drupal\Core\Entity\Field\FieldInterface */ diff --git a/core/modules/node/node.api.php b/core/modules/node/node.api.php index 5854170..4d7ef3f 100644 --- a/core/modules/node/node.api.php +++ b/core/modules/node/node.api.php @@ -432,12 +432,12 @@ function hook_node_operations() { 'callback arguments' => array('updates' => array('status' => NODE_NOT_PUBLISHED)), ), 'promote' => array( - 'label' => t('Promote selected content to front page'), + 'label' => t('Promote selected content'), 'callback' => 'node_mass_update', 'callback arguments' => array('updates' => array('status' => NODE_PUBLISHED, 'promote' => NODE_PROMOTED)), ), 'demote' => array( - 'label' => t('Demote selected content from front page'), + 'label' => t('Demote selected content'), 'callback' => 'node_mass_update', 'callback arguments' => array('updates' => array('promote' => NODE_NOT_PROMOTED)), ), diff --git a/core/modules/node/node.install b/core/modules/node/node.install index b0735d3..bae2c14 100644 --- a/core/modules/node/node.install +++ b/core/modules/node/node.install @@ -86,7 +86,7 @@ function node_schema() { '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 displayed in promoted listings.', 'type' => 'int', 'not null' => TRUE, 'default' => 0,