summaryrefslogtreecommitdiffstats
path: root/core/modules/node/src/Entity/Node.php
diff options
context:
space:
mode:
authorAlex Pott2015-02-04 11:46:22 +0000
committerAlex Pott2015-02-04 11:46:22 +0000
commita801764e012b422da0c558d4d9193ba0a75754af (patch)
tree39c7f43c796874701296cbe0fdde37edc818403a /core/modules/node/src/Entity/Node.php
parentc9e1f935d8fe198f821f742bbdcf49dc324dd34b (diff)
Issue #2350013 by kattekrab, David_Rothstein: Descriptions for Promotion Options are too technical
Diffstat (limited to 'core/modules/node/src/Entity/Node.php')
-rw-r--r--core/modules/node/src/Entity/Node.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/modules/node/src/Entity/Node.php b/core/modules/node/src/Entity/Node.php
index 40d0053..d5ff0fd 100644
--- a/core/modules/node/src/Entity/Node.php
+++ b/core/modules/node/src/Entity/Node.php
@@ -436,8 +436,7 @@ class Node extends ContentEntityBase implements NodeInterface {
->setTranslatable(TRUE);
$fields['promote'] = BaseFieldDefinition::create('boolean')
- ->setLabel(t('Promote'))
- ->setDescription(t('A boolean indicating whether the node should be displayed on the front page.'))
+ ->setLabel(t('Promoted to front page'))
->setRevisionable(TRUE)
->setTranslatable(TRUE)
->setDefaultValue(TRUE)
@@ -451,8 +450,7 @@ class Node extends ContentEntityBase implements NodeInterface {
->setDisplayConfigurable('form', TRUE);
$fields['sticky'] = BaseFieldDefinition::create('boolean')
- ->setLabel(t('Sticky'))
- ->setDescription(t('A boolean indicating whether the node should be displayed at the top of lists in which it appears.'))
+ ->setLabel(t('Sticky at top of lists'))
->setRevisionable(TRUE)
->setTranslatable(TRUE)
->setDefaultValue(FALSE)