Commit a801764e authored by alexpott's avatar alexpott

Issue #2350013 by kattekrab, David_Rothstein: Descriptions for Promotion Options are too technical

parent c9e1f935
......@@ -7,8 +7,8 @@ id: node.book.promote
field_name: promote
entity_type: node
bundle: book
label: Promote
description: 'A boolean indicating whether the node should be displayed on the front page.'
label: Promoted to front page
description: ''
required: false
translatable: true
default_value:
......
......@@ -8,8 +8,8 @@ id: node.forum.promote
field_name: promote
entity_type: node
bundle: forum
label: Promote
description: 'A boolean indicating whether the node should be displayed on the front page.'
label: Promoted to front page
description: ''
required: false
translatable: true
default_value:
......
......@@ -436,8 +436,7 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
->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 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
->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)
......
......@@ -8,8 +8,8 @@ id: node.page.promote
field_name: promote
entity_type: node
bundle: page
label: Promote
description: 'A boolean indicating whether the node should be displayed on the front page.'
label: Promoted to front page
description: ''
required: false
translatable: true
default_value:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment