Think of this situation:

- You have an entity type, with 25 custom fields.
- Your client asks for a report of every entity, plus the values of all the custom fields.
- The fields are frequently added and removed.

Since rendering every entity is not an option, you have to create a View, manually add in 25 custom views definitions, then update the view every time there is a change to the fields.

This module provides:
1. A "wildcard" field placeholder, added to every entity type in views, that supports selecting the bundle to use.
2. A hook_views_pre_view() implementation to dynamically add all the fields to the view before it renders.

Webform did something similar in #2330557: Replace hard-coded tables with views. With some modifications we can do the same for any entity, and (almost) any type of field.

Using this module
1. Enable "views_all_fields" module
2. Build a view of some type of Entity (content, user, etc.)
3. Add the field "All fields" to your view

When you view that view, all fields on the entity will be dynamically added as if you were adding them one by one, using the defaults.

Supporting organizations: 

Project information

Releases