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 Default Values

12 sites No security coverage
View on drupal.org

This module automatically sets default values for new fields being created in Drupal, saving time and ensuring consistency. Administrators can configure these default values for various field types through the site's administration interface.

The Field Default Values module allows administrators to configure default values for various field types, ensuring consistency and reducing manual input when creating new fields.

This module automatically adds the default values when creating a new field.

Key Features

  • Automatic Default Values – Applies predefined values to newly created fields.
  • Supports Multiple Field Types – Works with text, number, link fields, and more.
  • Admin Configuration – Easily manage settings via a dedicated admin page.
  • Seamless Integration – Hooks into the field configuration system for smooth workflows.

Why Use This Module?

  • Saves time by reducing manual configuration.
  • Ensures consistency across entity types.
  • Provides a simple and intuitive UI for setting defaults.

How It Works?

The module integrates directly with Drupal's field system. When creating a new field, the configured default values are automatically applied if the option is enabled.

  • Administrators can define default values per field type.
  • When a new field is added, the default values are pre-filled.
  • The default values can still be manually adjusted if needed during field creation.

Installation & Configuration

  1. Install via composer (composer require drupal/set_field_defaults) or manually place in the /modules/custom directory.
  2. Enable the module from the Extend page (/admin/modules).
  3. Configure settings under ConfigurationSystemField Default Values (/admin/config/field-defaults).

Activity

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

Release Timeline

Releases

Version Type Release date
1.0.1 Stable Apr 19, 2025
1.0.0 Stable Feb 19, 2025
1.0.x-dev Dev Feb 19, 2025