Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Harmonize

Security covered Obsolete 4 sites

Harmonize preprocesses Drupal entities to make accessing field values easier in Twig templates. It adds a `harmony` variable containing a clean array of entity data, simplifying development, especially for nested entities.

Please note that this module is nearing EOL. Due to many performance concerns and a large amount of legacy code, further development will be abandoned in favor of a spiritual successor: Glint.

Version 4.2 will be the final release of this module and will focus purely on performance optimizations. Moving forward, use of this module is NOT recommended, as it strays away from standard Drupal practices and can bring a big performance hit to your site if used excessively.

Overview

Harmonize streamlines preprocessing of entities in Drupal before template rendering.

It is a tool for developers and was originally made to facilitate collaboration between backend and frontend teams.

What does it do?

Harmonize makes it much easier to access field values in Drupal templates. It does this by preprocessing entity content and adding a new variable called harmony to your twig templates. This variable contains a simple, cleanly formatted array of data to work with.

Drupal already exposes the values of your content to your templates, but it is sometimes difficult to access said data.
This is especially true when trying to access values in nested entities.

Quickstart Guide

Visit the documentation here to get started.

Upgrading from v2.x

For any inquiries on upgrades from v2.x, visit here.

Drupal 9–10 · not 11 PHP >=8.0

Ask your assistant about Harmonize

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.

Activity

Tracked releases
10
Tracked since
Jul 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
4.1.4 Stable 9–10 PHP >=8.0 Mar 7, 2024
4.2.x-dev Dev 9–10 PHP >=8.0 Nov 13, 2023
4.0.x-dev Dev 9–10 PHP >=8.0 Nov 13, 2023
4.1.3 Stable 9–10 PHP >=8.0 Sep 23, 2023
4.1.2 Stable 9–10 PHP >=8.0 Sep 21, 2023
4.1.1 Stable 9–10 PHP >=8.0 Sep 7, 2023
4.1.0 Stable 9–10 PHP >=8.0 Sep 7, 2023
4.0.0 Stable 9–10 PHP >=8.0 Aug 31, 2023
4.0.0-rc0 Pre-release 9–10 PHP >=8.0 Aug 31, 2023
4.x-dev Dev 9–10 PHP >=8.0 Jul 17, 2023