Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Field Defaults

4,615 sites Security covered
View on drupal.org

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.

Activity

Total releases
2
First release
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
2.1.0 Stable Apr 24, 2025
2.1.0-alpha4 Pre-release Jan 31, 2025