Skip to content
Snippets Groups Projects
Commit 98c5bd30 authored by catch's avatar catch
Browse files

Issue #2847035 by jvsouto, yoroy: Remove useless descriptions on taxonomy term create/edit screen

parent a7ab06c3
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -116,7 +116,6 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
$fields['name'] = BaseFieldDefinition::create('string')
->setLabel(t('Name'))
->setDescription(t('The term name.'))
->setTranslatable(TRUE)
->setRequired(TRUE)
->setSetting('max_length', 255)
......@@ -133,7 +132,6 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
$fields['description'] = BaseFieldDefinition::create('text_long')
->setLabel(t('Description'))
->setDescription(t('A description of the term.'))
->setTranslatable(TRUE)
->setDisplayOptions('view', array(
'label' => 'hidden',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment