Form display field alter
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.