Install

Works with Drupal: ^10.3 || ^11 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 27.42 KB
MD5: 386fe75a6e7fea577f1980eed0bcd792
SHA-1: d02e9d86a2f2452bbd49461e1ca4e3fe48a345af
SHA-256: ee29c69138337405529a680939615ae03ed3637dac0e484c7849145a956f7ed5
Download zip 38.92 KB
MD5: 6f55302b626d436a3dd2e082e161d76e
SHA-1: ee3112c44d6870a923ccc8b5e6dc249afc99cf55
SHA-256: 737d8e80fb29ce710af5eb96e910a10ffa940a6393c40ebddfd162fe8b9033c8

Release notes

Maintenance and compatibility release:

Added support for Drupal 12, a lot of code clean-up with Core API updates, fixed code deprecation errors (compatibility fixes) and configured GitLab CI jobs.

Automated Tests can now be found here:
https://git.drupalcode.org/project/block_class/-/pipelines

Contributors (1)

dydave

Changelog

Issues: 8 issues resolved.

Changes since 3.0.0 (compare):

Feature

  • #3590322 by dydave: Improved block class rendering by replacing implementation of 'hook_preprocess_block' with 'hook_block_view_alter'.

Task

  • #3554895 by dydave: Fixed failing tests compatibility with D11.
  • #2702177 by dydave: Updated README documentation based on recent changes of the project page.
  • #3559954 by dydave: Fixed phpunit tests warnings for D11.3 (next minor) and support for D9.
  • #3589811 by dydave: PHPUNIT: Improved Functional tests and fixed Kernel tests compatiblity with Drupal 9.
  • #3590369 by dydave: Added support for Drupal 12 and dropped support for versions below 10.3.
  • #3605794 by dydave: Made configuration schema fully validatable.
  • #3606556 by dydave: Gitlab CI: Enabled automated security scans.
Created by: dydave
Created on: 30 Sep 2026 at 10:01 UTC
Last updated: 30 Sep 2026 at 10:02 UTC
Bug fixes
New features

Other releases