Add/remove columns to Custom fields with existing data
Use the provided service in an update hook to easily update custom fields while preserving existing data.
Custom Field storage
An overview of the storage types supported in Custom Fields.
Creating a field of type custom field as a BaseFieldDefinition.
Creating Custom Fields as a BaseFieldDefinition
Entity Query custom fields
How to use entityQuery with custom fields
Extending Custom Field formatter plugins
The field formatters are plugins that can easily be extended in your own custom module.
Extending Custom Field widget plugins
The field widgets are plugins that can easily be extended in your own custom module.
Field types, widgets & formatters
An overview of the field types, widgets & formatters included in the Custom Field module.
Migrate multivalue fields into unlimited Custom Fields field
A simple example, showing how to import nested values (hyperlink pairs of link text and URL) into a multivalue field
Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.