Skip to content

Choose field types

The type chooser grows when you enable core, contributed or custom modules that provide compatible Drupal field types. A compound uses each plugin's normal widget, formatter and validation.

Values to group Example field types Provider
Session names and summaries Short text, long text, formatted text Core; Text for formatted values
Prices, capacity and flags Integer, decimal, boolean Core
Contact details Email, telephone, link Core; Telephone and Link modules
Dates Date, date range, timestamp Core; Datetime and Datetime Range modules
Fixed choices Text and integer lists Core Options
Uploaded files File and image Core File and Image
Existing content References to content, taxonomy terms or media Core Entity Reference; the target's module
Postal addresses Address, country, zone Contributed Address module
Revisioned content Entity Reference Revisions Contributed Entity Reference Revisions
Another grouped record A compound field you have defined Compound Field

Build a session with Address, Media, taxonomy, content references, email and a link. The example shows the different selection widgets behind the reference fields, as well as the Address module's country-specific form.

A custom field type uses the same Drupal plugin system. Its values can join a compound without writing a second implementation specifically for Compound Field. The compatibility guide covers limits that affect field settings, repeated values and other modules' integrations.