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.
Supporting organizations:
proudly helped to improve and maintain the 8.x branch of this module

Project information

Releases

2.0.1 Stable release covered by the Drupal Security Team released 11 December 2024
Works with Drupal: ^9 || ^10 || ^11
Install:

Development version: 2.x-dev updated 11 Dec 2024 at 11:15 UTC