Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Form display field alter

Security covered Under active development 12 sites

This project allows fine-grained control over field settings on an entity's form display, enabling customization of labels, help text, required status, and default values for individual fields. This lets you create different form layouts even for the same type of content.

Introduction

This project enables more granular field customization by allowing certain field settings to be overridden on each entity form display.

Features

This project includes two modules:

  • The "Form display field alter" module provides a programmatic interface for modifying field definitions before being used by an entity form display.
  • The "Form display field settings" sub-module allows you to customize the label, help text, required status, and default value for each field on the "Manage form display" page.

Using these modules, field settings overrides are applied when rendering an entity form based on the form display in use. This enables you to have multiple form presentation styles, even for the same bundle of entities.

Post-Installation

After installing both modules, navigate to the "Manage form display" page for one of your entity’s form displays, then click the cogwheel next to a field. You should now be able to override certain field settings, which will only be applied when the form display being edited is used to build an entity form.

Click "Update," then "Save" to apply your changes.

Ask your assistant about Form display field alter

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

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Releases

Version Type Core PHP Release date
1.0.0-alpha1 Pre-release 10–11 Feb 14, 2025
1.0.x-dev Dev 10–11 Feb 14, 2025