-
Book Overview & Buying
-
Table Of Contents
Mastering Drupal 8
By :
The appearance of Comment types is new to Drupal 8. No longer are comments assumed to be part of every content type. Comment types are like content types in that they are fieldable and can have additional fields added to them to capture info outside of the normal subject, author, and comment.
We can view the Comment types screen by navigating to /admin/structure/comment or using the Admin toolbar and click on Manage - Structure - Comment types:

By default, Drupal provides us with a Default comments type that contains three fields: Author, Subject, and Comment body. Comment types can be managed exactly like content types, which we will see next by adding a new Comment type that we will add to our Post.
We will add a new Post Comment type by first clicking on the Add comment type button located on the Comment types admin screen. Like content types, we will need to add a Label, a Description, and choose a Target entity type by entering the following...