Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Field Default Values

No security coverage Under active development 10 sites

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 Configuration → System → Field Default Values (/admin/config/field-defaults).
Drupal 10–11

Ask your assistant about Field Default Values

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 Drupal core
  • system Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Release Timeline

Releases

Version Type Core PHP Release date
1.0.1 Stable 10–11 Apr 19, 2025
1.0.0 Stable 10 Feb 19, 2025
1.0.x-dev Dev 10–11 Feb 19, 2025