Creating a block from a View

Previous recipes have shown how to create and manipulate a page created by a view. Views provides different display types that can be created, such as a block. In this recipe we will create a block powered by Views. The Views block will list all Tag taxonomy terms that have been added to the Article content type.

Getting ready

This recipe assumes you have installed the standard installation profile and have the default node content types available for use.

How to do it…

  1. Visit Structure and then Views. This will bring you to the administrative overview of all the views that have been created.
  2. Click on Add new view to begin creating a new view.
  3. The first step is to provide the View name of Tags, which will serve as the administrative ...

Get Drupal 8: Enterprise Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.