Applying new Drupal 8 core field types

The field system is what makes creating content in Drupal so robust. With Drupal 8 some of the most used contributed field types have been merged into Drupal core as their own module. In fact, Entity reference is no longer a module but part of the main Field API now.

This recipe is actually a collection of mini-recipes to highlight the new fields: Link, Email, Telephone, Date, and Entity reference!

Getting ready

The standard installation profile does not enable all of the modules that provide these field types by default. For this recipe you will need to manually enable select modules so you can create the field. The module that provides the field type and its installation status in the standard profile will ...

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.