diff --git a/core/modules/comment/src/Entity/Comment.php b/core/modules/comment/src/Entity/Comment.php index 1981c0f..97cefeb 100644 --- a/core/modules/comment/src/Entity/Comment.php +++ b/core/modules/comment/src/Entity/Comment.php @@ -49,7 +49,8 @@ * "bundle" = "comment_type", * "label" = "subject", * "langcode" = "langcode", - * "uuid" = "uuid" + * "uuid" = "uuid", + * "status" = "status" * }, * links = { * "canonical" = "/comment/{comment}", @@ -291,12 +292,6 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) { ->setDescription(t('The time that the comment was last edited.')) ->setTranslatable(TRUE); - $fields['status'] = BaseFieldDefinition::create('boolean') - ->setLabel(t('Publishing status')) - ->setDescription(t('A boolean indicating whether the comment is published.')) - ->setTranslatable(TRUE) - ->setDefaultValue(TRUE); - $fields['thread'] = BaseFieldDefinition::create('string') ->setLabel(t('Thread place')) ->setDescription(t("The alphadecimal representation of the comment's place in a thread, consisting of a base 36 string prefixed by an integer indicating its length."))