Install

Works with Drupal: ^8 || ^9 || ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 20.08 KB
MD5: 1905ceac233c3fbdaef88c5e1103b5bb
SHA-1: db073909d78b939ffbf07b163ff724b76a0cb818
SHA-256: d1a0b68c63a24298810d5ae98b1e3cbc540d0355f48add12210bab67be8ac152
Download zip 27.2 KB
MD5: f9b9569c3cd854eb70b5352ed9cd7d51
SHA-1: 91ff8bf42c77455e76bc07ce9e9e5ba4f6fdcf9a
SHA-256: bfa0aa9499ef1f7a49afae55b6f162f665bc32137c337899cdbd2b1c782f67b9

Release notes

Bugfix release for a regression in 8.x-1.8: the security fix for SA-CONTRIB-2026-209 also removed safe container attributes like container_class from the configuration (#3590635).

What's fixed

  • Update 8004 and the configuration form now only reject unsafe attribute names (style, on*, invalid names). Safe container_* attributes are kept and can be saved again.
  • A new post update restores container attribute definitions that 8.x-1.8 removed, for every container attribute still stored on a menu link.

Upgrade instructions

  • Run drush updb.
  • With config management: run drush cex afterwards and commit the restored container_* entries in menu_link_attributes.config.yml. Otherwise the next drush cim / drush deploy removes them again.

If you were on 8.x-1.8

  • Container attributes of menu links saved through the UI while on 8.x-1.8 are lost and need to be re-entered (or recovered from a database backup taken before updating to 8.x-1.8).
  • Container attributes that are no longer stored on any menu link are not restored automatically. Re-add them on the configuration page if needed.

Contributors

acbramley, philltran, koiwo, kmonty

Created by: norman.lol
Created on: 8 Oct 2026 at 08:44 UTC
Last updated: 8 Oct 2026 at 08:44 UTC
Bug fixes

Other releases