Fieldry
The fieldry (aka: field wizardary) module provides additional field widget and
field formatter configurations and utilities.
The module provides field wrapper behaviors and field widget enhancements.
Features
For field widgets, it add the options to include field item removal buttons, to
remove individual field items fields with unlimited cardinality set. This makes
it easier to remove complex field items without needing to empty all field
property inputs.
For formatters, fieldry adds field wrapper options. Field wrappers are plugins
that can alter the field wrapping HTML elements. For instance there are field
wrappers that can display links or text items as a comma separated list, or
as HTML list.
Extending field wrappers
Create field wrapper plugins by implementing the Drupal\fieldry\Plugin\WrapperInterface with the
Drupal\fieldry\Attribute\FieldWrapper attribute. Field wrapper should define behavior which replaces
the Drupal field preprocess and template.
Additional Requirements
Does this project need anything beyond Drupal core? Include any dependent modules, libraries, APIs, etc., that are required for this project to work.
Similar projects
This module is similar to the Fences module. Fences only allows changing the HTML and modifying the templates of the field formatter wrappers.
This module allows the creation of plugins which can alter the behavior of the field rendering with finer control. One example is the ability to create HTML Lists, or to format taxonomy labels as a comma separated list.
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
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.x-dev | Dev | Development branch | Jan 13, 2025 |