Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Template Block

No security coverage Under active development 16 sites

The Template Block module allows site builders to easily add custom Twig templates as blocks on their website. This provides a flexible way to display unique content structures without writing custom module code.

Template Block provides a simple way for site builders to place Twig templates as blocks.

Post-Installation

  1. Place a Template Block block somewhere on your site, e.g. via Block Layout, Layout Builder, etc.
  2. Create the appropriate template in your site's theme. Your template's name will be something like template-block--MY-TEMPLATE.html.twig. (You choose the value of MY-TEMPLATE in step 1.)
  3. Clear your site's cache and profit. ๐Ÿ˜Ž

Install Twig Tweak to take your Template Block blocks to the next level.

Ask your assistant about Template Block

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
2
Tracked since
Sep 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.0-beta1 Pre-release 10โ€“11 PHP >=8 Sep 21, 2024
1.0.x-dev Dev 10โ€“11 PHP >=8.1 Sep 21, 2024