Defines the comment type entity.
Plugin annotation
@ConfigEntityType(
id = "comment_type",
label = @Translation("Comment type"),
handlers = {
"form" = {
"default" = "Drupal\comment\CommentTypeForm",
"add" = "Drupal\comment\CommentTypeForm",
"edit" = "Drupal\comment\CommentTypeForm",
"delete" = "Drupal\comment\Form\CommentTypeDeleteForm"
},
"list_builder" = "Drupal\comment\CommentTypeListBuilder"
},
admin_permission = "administer comment types",
co