Part of the Entity ecosystem · 308 projects
This module provides an administrative interface to customize the HTML markup for entity fields, allowing for more specific control over how content is displayed. It enables simple markup changes, such as assigning header tags to fields, without the need to create new Twig templates. This offers greater flexibility compared to other modules by allowing customization on a per-field and per-view-mode basis.
This module allows for more granular control of the entity field markup to reduce the number of twig template overrides needed for a project.
For complex situations overriding is still supported, but if your change is something simple (i.e. having a title field render with a certain header tag) this module lets you do it all from the admin instead of making a new twig template.
Similar Modules
Fences - https://www.drupal.org/project/fences
This module does a similar function, but only on a per field basis. Entity Markup does this functionality on a per field per view mode basis to allow for greater flexibility on complex projects.
Display Suite - https://www.drupal.org/project/ds
This module does allow for field markup customization, but it's also a fully built out layout manager. I wanted to use the core layout manager, so this module wasn't quite what I was looking for.
Ask your assistant about Entity Markup
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.
More in the Entity ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-beta5 | Pre-release | 8–11 | Jun 2, 2025 | ||
| 1.0.0-beta4 | Pre-release | 8–10 | Jun 28, 2023 | ||
| 1.0.0-beta3 | Pre-release | 8–10 | Jun 27, 2023 |