Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Drupal 11.4.6 Update released for Drupal core (11.4.6)! Release: Drupal 10.6.16 Update released for Drupal core (10.6.16)! Release: PhotoSwipe - Responsive JavaScript Modal Image Gallery 5.0.10 Minor update available for module photoswipe (5.0.10). Release: Twig Tweak 4.0.0-alpha5 New alpha version released for module twig_tweak (4.0.0-alpha5). Release: Media PDF Thumbnail 6.1.10 Minor update available for module media_pdf_thumbnail (6.1.10). Release: UI Patterns (SDC in Drupal UI) 2.0.21 Minor update available for module ui_patterns (2.0.21). Release: MTCaptcha 11.1.0 Minor update available for module mtcaptcha (11.1.0). Release: Drupal LMS 1.2.2 Minor update available for module lms (1.2.2). Module Revived: Media PDF Thumbnail 7.0.1 Module media_pdf_thumbnail updated after 15 months of inactivity (7.0.1). Usage Milestone: Menu Condition Module menu_condition crossed 1,000 active installs.

Block Content Machine Name

Security covered Drupal 8–11
View on drupal.org

Block content machine name adds machine_name field for block_content block content type. Which is used to define the specific block template for that specific block.

Module can be very helpful for theming if you are using block_field module to place block content in entity.

New Projects: read me !!

We have removed the machine_name field from the form, check this link:
#2685749: Add a 'machine_name' widget for string field types with a UniqueField constraint
With the latest update of module, we will use the info value as a machine name.

After successful installation module will provide additional template suggestion for FE.
- block--block-content--[MACHINE_NAME].html.twig

I.E. If you have block_content created for copyright block. Then You will have template suggestions as listed below.

- block--block-content--copyright.html.twig
- block-content--copyright
- block-type-block-content

You can now add template suggestion in block content while creating it. With this feature you can use the same template again and again for various block contents.

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
1
Tracked since
Sep 2026
Latest release
4 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
3.0.4 Stable 8–11 Sep 4, 2026