Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Extra Field

6,645 sites Security covered Drupal 10–11
View on drupal.org

This module allows developers to create custom fields that can be added to entity display and form modes. These "extra fields" do not store data but can be used to format existing entity data for display or add custom markup and fields to entity forms.

Provides plugin types to add extra fields in entity view and entity form of fieldable entities.

With ExtraFieldDisplay plugins developers can add custom output to entity view modes. Extra fields are treated like regular fields, site builders can place them in entity view modes, the output is rendered in twig templates. Extra fields typically combine entity data and format it for display. Extra fields do not store data and do not have a field widget.

With ExtraFieldForm plugins (8.x-2.x only) developers can add custom fields or markup to entity forms. Site builders can place them in entity form modes. Extra fields do not store data. Extra form fields can be used as replacement for hook_form_alter.

The included extra_field_example module contains ready to use example plugins. Copy them to your custom module and modify them to your needs.

Know limitation: ExtraFieldForm plugins can not be used for paragraphs, inline entity forms, blocks in layout builder. See details in this issue.

Other modules

Depends on

Dependencies of the latest stable release

  • field Drupal core

Required by

2 tracked projects depend on this one

Activity

Tracked releases
4
Tracked since
Jan 2025
Latest release
7 months ago
Releases (12 mo)
2
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.0.0 Stable 10–11 Jan 20, 2026
3.0.0-beta2 Pre-release 10–11 Sep 5, 2025
3.0.0-beta1 Pre-release 10–11 Apr 3, 2025
3.0.x-dev Dev 10–11 Jan 7, 2025