Time for action – configuring comments as recipe reviews
We will now set up the comments so that visitors to our d8dev site will be able to review the recipes:
- We will configure our Recipe content type to use the comments. Open up the d8dev site in your favorite browser, click on the Structure link in the Admin toolbar, then click on the Comment types link, and finally click on the Add content type link for your Recipe content type.
- On the next screen, enter
Recipe Review
as the value for the Label field and Content as theTarget entity type
field. Click on the Save button: - We added a new comment type and it can be used in any content types. Click ...
Get Drupal 8 Development Beginner's Guide - Second Edition now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.