O'Reilly logo

Drupal 8 Development Beginner's Guide - Second Edition by Kurt Madel, Malabya Tewari, Rakesh James, Krishna Kanth, Edward Crompton, Samuel Keen, Tassos Koutlas, Neeraj Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

  1. 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.
  2. On the next screen, enter Recipe Review as the value for the Label field and Content as the Target entity type field. Click on the Save button:
    Time for action – configuring comments as recipe reviews
  3. We added a new comment type and it can be used in any content types. Click ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required