Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Block Content Template

Security covered Under active development 2,282 sites

This module allows custom block types to have their own Twig templates for easier theming, similar to how other entities are handled. It also adds helpful classes to custom block templates for improved styling.

If you have ever tried to get a view of custom block types or rendered a custom block type in a reference field you will know that the custom block type doesn't have standard template markup in D8, in fact there might be no wrapping markup around the fields. This module allows custom block types to have their own template block-content.html.twig and it also adds helpful classes for theming that you might find on any other entity.

Follow the core integration request:
https://www.drupal.org/project/drupal/issues/3342998

This module is not compatible with other modules that provide similar functionality such as block_content_suggestions.

Drupal 8–11

Ask your assistant about Block Content Template

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

  • block_content Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jan 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
8.x-1.7 Stable 8–11 Nov 22, 2024
8.x-1.6 Stable 8–10 Nov 22, 2024
8.x-1.5 Stable 8–10 Jan 13, 2023