Install
Works with Drupal: ^9 || ^10 || ^11Using dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
45.55 KB
MD5: 0a2c7d08f7c8fb73aa6253a7fb7d013f
SHA-1: f6dd41d6934ac96bc9e11f798ae099b0c736c0f0
SHA-256: dd284b62c2165b1ec129ef0190817657d9a3cca0a6f4479826bc38994d4bcc9d
Download zip
60.95 KB
MD5: d8f20b1b2c3b69c67fcef190dc6d8689
SHA-1: dcffea46105e0914b8ecf9d4fb6cb64e0d19859c
SHA-256: c1a4cc6a07744dc854e30826cdbad9fbf3e15fe0f7bc205e03871e7cdfb91a4e
Release notes
Development branch based on the new implementation of the module from the 2.x branch.
🟠Block Class 4.x - Experimental (Latest features and developments)
- Provides more advanced/comprehensive features:
- CSS classes: Allows adding classes to blocks, stored in config to be reused for other blocks and selected through an AJAX autocomplete field on the block config form.
- HTML ID: Allows overriding the HTML ID of a block.
- HTML Attributes: Allows adding any types of HTML Attributes sets to the code of the block:
custom-attribute="custom-value" - Provides several management pages, bulk operations, settings, etc...
- Much larger code base, limited tests coverage, user documentation, field descriptions or help texts and limited maintenance.
- With a wider set of features, the module is also harder to understand: A long/comprehensive list of settings, more fields, more management list views and pages.
- No Drupal 7 upgrade support, use 3.x.
- Experimental: Certain features may have unexpected results on sites, break, show error messages or may not provide the intended behavior.
It is possible to upgrade from 3.x to 4.x, but not the other way around.
Upgrading from prior versions: 8.x-1.x or 2.x
For any upgrade from versions prior to the 3.x or 4.x, see documentation page Block Class Version compatibility.
🛑 Do not upgrade from 2.0.x to 3.0.x.