This project is not covered by Drupal’s security advisory policy.

Block Theme Sync responds when block configuration is imported into a source theme and creates the same configuration in a destination theme.

To use

Ideally, install this module before you install a theme you want to use as a destination theme.

Navigate to Admin > Structure > Block > Block Theme Sync mappings (admin/structure/block/theme_mapping).

Use the "Add theme mapping" link to add a theme mapping. A theme mapping includes a mapping of source to destination regions.

When a theme mapping is in place, any change to block configuration in the source theme will be applied as well to the destination theme.

Say for example that there's a theme mapping with Bartik selected as the source theme and Mytheme as the destination theme. Whenever a block is added to Bartik, a corresponding block will be added to Mytheme and assigned to a selected theme region.

Use case

A site based off a distribution may use a custom theme. In this case, any block updates received from the distribution will be limited to the distribution's theme.

Block Theme Sync is designed to enable sites to receive upstream block configuration updates.

Similar modules

Better Sub-themes improves the inheritance features for Drupal themes, providing the ability for a sub-theme to inherit its base theme's block layout among other things. It differs from Block Theme Sync in that:

  • While Block Theme Sync provides a user interface for editing theme mapping configuration, Better Sub-themes stores theme mappings in a manually-written theme info file.
  • While Block Theme Sync synchronizes block configuration between a source and a destination theme, Better Sub-themes works at run time, dynamically loading blocks from the base theme to display in a sub-theme.
Supporting organizations: 

Project information

  • caution Seeking new maintainer
    The current maintainers are looking for new people to take ownership.
  • caution No further development
    No longer developed by its maintainers.
  • chart icon3 sites report using this module
  • Created by nedjo on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases