Defines the comment entity class.
Plugin annotation
@ContentEntityType(
id = "comment",
label = @Translation("Comment"),
bundle_label = @Translation("Comment type"),
handlers = {
"storage" = "Drupal\comment\CommentStorage",
"storage_schema" = "Drupal\comment\CommentStorageSchema",
"access" = "Drupal\comment\CommentAccessControlHandler",
"list_builder" = "Drupal\Core\Entity\EntityListBuilder",
"view_builder" = "Drupal\comment\CommentViewBuilder",
"views_data" = "D