Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

set_field_defaults

7 sites No security coverage
View on drupal.org

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
11 months ago
Release cadence
30 days
Stability
67% stable

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