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 – creating a Recipes by cuisine type Views block

We have created a new vocabulary and associated it to our Recipe content type. Now we will learn how to use a custom vocabulary with a view.

  1. Click on the Structure link in the Admin toolbar, click on the Views link, and click on the Add new view button.
  2. On the next page, enter Recipes by Cuisine as the View name, select Taxonomy terms for the Show select list, and select Type of Cuisine for the of Type select list.
  3. Check the Create a block checkbox under the Block settings section.
  4. Leave the remaining default settings as they are and click on the Save and edit button.
  5. Views automatically adds the Taxonomy term Name field, but we also want to display the most recent recipes associated ...

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