O'Reilly logo

Mastering Drupal 8 Views by Gregg Marshall

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

Chapter 7. Field Rewrites

Up to this point, we have used Views to create different aggregations of data, displayed in a variety of ways: lists, tables, galleries, maps, accordions, and so on. We just displayed content titles, teasers, and used fields to create custom displays of data for each row of a view. Up to this point, we have accepted the formatting options provided by Views, whether to display a field label, which formats or displays the mode to use, or to turn the field into a link to the full content.

However, fields have a very flexible rewrite capability. Opening the REWRITE RESULTS fieldset in the field options shows what looks like six simple checkboxes. However, four of the six open up additional options when selected. Within these ...

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