Articles

The following modules provide or enhance field formatting functionality for a wide range of core field types.
Third-party Settings Enhancements
These modules use third-party settings to enhance many or all field formatters installed on your site. They do not provide new formatters but add functionality to existing ones.

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

Drupal 8 comes with a single core Field Formatter for Boolean fields. The following contributed modules provide additional Field Formatter plugins for Boolean fields:

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

Drupal 8 comes with four core Field Formatter plugins for Datetime fields: Default, Custom, Plain, and Time Ago.
For Datetime Range fields, there are three core field formatters: Default, Custom, and Plain.
The following contributed modules provide additional field formatters for Date and/or Time fields:

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

Drupal 8 comes with two core field formatters for email fields: plain text and email link. The following contributed module offers an additional field formatter plugin for email fields.
- Obfuscate (also provides text format filter plugins to obfuscate email addresses in formatted text fields)

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

For most basic entity reference fields, Drupal provides three core field formatters: the entity ID, label, and rendered entity. Some specific types of entity reference fields offer additional core formatters. For example, taxonomy reference fields include an RSS category formatter, while media reference fields include a thumbnail formatter.

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

Drupal 8 comes with four default field formatters for File fields: “Generic file,” “RSS enclosure,” “URL to file,” and “File table.” Below is a list of contributed modules that offer additional field formatter plugins for File fields. Some of these formatters work for all file types, while others are specific to certain formats.

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

Drupal 8 comes with three built-in field formatters for image fields: Image, Image URL, and Responsive Image (the latter requires enabling the core responsive_image module). A wide array of contributed modules provide additional field formatters for image fields. These are roughly categorized below.

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

Drupal 8 core comes with two field formatters for integer fields: Default and Unformatted. The following contributed module provides an additional field formatter for integer fields:

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

Drupal 8 comes with two field formatters for link fields: “Link” and “Separate link text and URL”. The following contributed modules provide additional field formatter options for link fields:

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.

The core Telephone module comes with one field formatter: Telephone Link.
Below is a list of contributed modules that provide additional formatting options for telephone fields:

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.