O'Reilly logo

Learning Drupal 8 by Richard Jones, Nick Abbott

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

Extending content types

In the next section, we'll look at some common adjustments made to fields—their content-editing interfaces, prompt text, default values, and their display settings—so as to get used to the options available to you.

Adjusting field settings

We'll start by making some adjustments to the core Article and Basic page content types and then move on to creating some new content types and employing some new field types to meet the requirements as laid out in Chapter 5, Basic Content.

Forcing the Article type field to be mandatory

It is often a good idea to insist that certain fields are populated by making them required.

You have actually already done this in Chapter 6, Structure, when you set the relationship to the Category taxonomy ...

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