Drupal is a registered trademark of Dries Buytaert

markup

Security covered
View on drupal.org

This module adds the ability for site admins to add "Markup" widgets to the form. These essentially let designers of cck content-types insert additional markup into the node/edit form to display to content-authors. This is the equivalent of adding additional elements to $form of the type '#markup'.

The module does not add anything to the $node object for the content being created, and utilizes form_alter to remove unnecessary fields from the '_content_admin_field' form when this widget is being created.

Related / extending modules

  • Markup Twig - Allows to use Twig in Markup fields
  • Form Markup - 7.x: This module allows you to add surrounding HTML values to any existing CCK field widget by determining prefix and suffix values.

Alternative Modules

  • Extra field - possible 8.x alternative which uses pseudo fields (no UI!)
  • Markup field - possible 8.x alternative which also considers js / css.
  • Inline formatter field - possible 8.x alternative with Token / HTML / Twig support and boolean checkbox to enable field output per entity.

Activity

Total releases
1
First release
Dec 2024
Latest release
1 year ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
2.0.1 Stable Dec 11, 2024