Drupal is a registered trademark of Dries Buytaert
drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! linkit 7.0.14 Minor update available for module linkit (7.0.14). migrate_tools 6.1.4 Minor update available for module migrate_tools (6.1.4). diff 2.0.0 Major update available for module diff (2.0.0). masquerade 8.x-2.2 Minor update available for module masquerade (8.x-2.2). video_embed_field 3.1.0 Minor update available for module video_embed_field (3.1.0). bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). colorbox_inline 2.1.1 Minor update available for module colorbox_inline (2.1.1). node_view_permissions 8.x-1.7 Minor update available for module node_view_permissions (8.x-1.7).

utilitybelt

No security coverage
View on drupal.org

Adds two development helpers for Drupal 11 theme and site builds.

utilitybelt_svg(filename) — A Twig function that loads a managed SVG file by filename, sanitizes it via enshrined/svg-sanitize, and returns safe inline markup. Cache tags from the file entity are bubbled automatically.

{{ utilitybelt_svg('logo.svg') }}

has_content — Available in node, taxonomy term, and paragraph templates. Provides a map of field machine names to booleans so templates can conditionally render fields without rendering them first.

{% if has_content.field_body %}
  <div class="body">{{ content.field_body }}</div>
{% endif %}

EntityPreprocessHooks::hasContent() is public and static, so custom preprocess hooks for other entity types can call it directly without any additional wiring.

Requirements

  • Drupal 11
  • Drupal core file module

Activity

Total releases
2
First release
May 2026
Latest release
1 day ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
1.0.0 Stable May 12, 2026
1.0.x-dev Dev May 12, 2026