[1.0.x] Highlighted Content

Created on 28 July 2025, about 2 months ago

The Highlighted Content module allows site administrators to configure a boolean field within a content type to control the highlighting of a single node. When a node is saved with the configured boolean field set to TRUE, the module automatically ensures that all other nodes of the same content type have the field set to FALSE, maintaining a single highlighted node at any given time.

This module is useful in editorial workflows where only one piece of content should be featured or prioritized within a content typeโ€”for example, highlighting a news article, a featured event, or a primary call-to-action. It simplifies editorial control by automatically unmarking previously highlighted items without the need for manual intervention.

The module does not alter any data beyond the configured field behavior and does not introduce write access beyond what is triggered through standard entity saving processes. It provides an administrative configuration form to select the target content type and boolean field.

Project link
https://www.drupal.org/project/highlighted_content โ†’

๐Ÿ“Œ Task
Status

Active

Component

module

Created by

๐Ÿ‡ช๐Ÿ‡ธSpain sblasco

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024