Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views field formatter

Security covered Under active development 4,658 sites

Part of the Views ecosystem · 280 projects

This module provides a new field formatter that allows you to display the output of a chosen View instead of the default field value. It can pass context from the field and entity to the View, enabling you to use the power of Views to format field content.

/!\ There is a complete new version "8.x-2.x" that needs some feedback from users /!\
Could you please test it and give me some feedback on the issue queue or on Github ?

Version 8.x-1.x

Provide a new field formatter: 'View' for each field types and allows you to select a View and to use its result instead of the original field value.

By default, the module sends 4 arguments to the selected View.

Those arguments in order are:

  1. Field value: The value of the field.
  2. Entity ID: The ID of the entity the field belongs to.
  3. Delta: If the field has multiple value, the delta. If not, zero.
  4. Revision ID: The revision ID of the entity the field belongs to.

You have options for a field having multiple cardinalities, just like in the screenshot.

This module is handy when you want to replace the content of a field with another and use the power of Views.

Version 8.x-2.x

Under heavy development.

Could you please test it and give me some feedback on the issue queue or on Github ?

New features:

  • You can have as many arguments as you want, strings or token, there is no limit
  • Docker backend for development and tests
  • Tested with Behat

Dependencies

Related modules

Drupal 10–11

Ask your assistant about Views field formatter

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Jun 2023
Latest release
6 days ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
4.2.0 Stable 10–11 Oct 9, 2026
4.1.1 Stable 10–11 May 20, 2025
4.1.0 Stable 8–10 May 20, 2025
4.0.1 Stable 8–10 Jun 1, 2023
4.0.0 Stable 8–10 Jun 1, 2023
4.0.x-dev Dev 10–11 Jun 1, 2023