Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Field Defaults

Security covered Under active development 4,711 sites

This module allows you to update default values for fields on existing content in Drupal. You can set a default value when adding a new field or modify an existing field's default and apply it to all content. The module offers options to control overwriting existing values and supports various entity types, translations, and Drush commands.

Field Defaults allows batch updating of default field values to existing content. When adding a new field to an entity you can update all existing content with the default value or when editing an existing field you can choose to also update all existing content with the new value.

Drupal 10/11 Version

  • Supports not updating changed date of entity
  • Configure if existing content is overwritten with the new value.
  • Supports any fieldable entity type
  • Supports Translations
  • Drush support

2.1.x

This branch is a refactor of the existing functionality with plans to allow extension to add support for any potential field widget. All new features/functions will go into this branch.

*NOTE: Due to the nature of the module, it is highly recommended you backup your database prior to updating defaults on existing content or perform updates first in a development environment to confirm results.

Difference between other Bulk operation modules

Other modules such as VBO have similar functionality.

The difference is that with Field Defaults you have the option to only edit the field if it didn't have a value (which is a condition that you could copy in a VBO action only with custom code, or by using eca_vbo module). You also benefit from not having to filter and select the entities to update. You can automatically update all the entities that have that field, directly from the field settings form.

Drupal 10–11

Ask your assistant about Field Defaults

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

  • field_ui Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
9
Tracked since
Mar 2023
Latest release
2 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.1.1 Stable 10–11 Jul 24, 2026
2.1.0 Stable 10–11 Apr 24, 2025
2.1.0-alpha4 Pre-release 10–11 Jan 31, 2025
2.1.0-alpha3 Pre-release 10–11 Sep 18, 2024
2.1.0-alpha2 Pre-release 10 Mar 4, 2024
2.0.0 Stable 9–10 Mar 1, 2024
2.1.0-alpha1 Pre-release 10 Mar 1, 2024
2.1.x-dev Dev 10–11 Jan 8, 2024
2.0.0-alpha2 Pre-release 9–10 Mar 23, 2023