Commit a20bad73 authored by alexpott's avatar alexpott

Issue #2350041 by cafuego, swentel: Remove node title field description

parent 06f947ce
...@@ -9,7 +9,6 @@ field_name: title ...@@ -9,7 +9,6 @@ field_name: title
entity_type: node entity_type: node
bundle: forum bundle: forum
label: Subject label: Subject
description: 'The title of this node, always treated as non-markup plain text.'
required: true required: true
translatable: true translatable: true
default_value: { } default_value: { }
......
...@@ -113,7 +113,7 @@ function forum_schema() { ...@@ -113,7 +113,7 @@ function forum_schema() {
'default' => 0, 'default' => 0,
), ),
'title' => array( 'title' => array(
'description' => 'The title of this node, always treated as non-markup plain text.', 'description' => 'The node title.',
'type' => 'varchar', 'type' => 'varchar',
'length' => 255, 'length' => 255,
'not null' => TRUE, 'not null' => TRUE,
......
...@@ -364,7 +364,6 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) { ...@@ -364,7 +364,6 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
$fields['title'] = BaseFieldDefinition::create('string') $fields['title'] = BaseFieldDefinition::create('string')
->setLabel(t('Title')) ->setLabel(t('Title'))
->setDescription(t('The title of this node, always treated as non-markup plain text.'))
->setRequired(TRUE) ->setRequired(TRUE)
->setTranslatable(TRUE) ->setTranslatable(TRUE)
->setRevisionable(TRUE) ->setRevisionable(TRUE)
......
...@@ -118,7 +118,7 @@ function hook_schema() { ...@@ -118,7 +118,7 @@ function hook_schema() {
'default' => '', 'default' => '',
), ),
'title' => array( 'title' => array(
'description' => 'The title of this node, always treated as non-markup plain text.', 'description' => 'The node title.',
'type' => 'varchar', 'type' => 'varchar',
'length' => 255, 'length' => 255,
'not null' => TRUE, 'not null' => TRUE,
......
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