diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Entity/Term.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Entity/Term.php index 5fb053b..7898d2f 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Entity/Term.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Entity/Term.php @@ -229,7 +229,7 @@ public static function baseFieldDefinitions($entity_type) { ->setDescription(t('The weight of this term in relation to other terms.')) ->setSetting('default_value', 0); - $fields['parent'] = FieldDefinition::create('integer') + $fields['parent'] = FieldDefinition::create('unsigned_integer') ->setLabel(t('Term Parents')) ->setDescription(t('The parents of this term.')) // Save new terms with no parents by default.