Block configuration screenshot on the manage display page

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

Summary

  • This module is used to render a pre-configured block based on a toggle switch from a boolean field.
  • If you want to show or hide a block within the content area based on a checkbox value, this is the module for you!
  • You need to configure which block to be displayed in the field formatter settings for the boolean field in the entity's manage display screen.

Requirements

You must have the block and display suite modules installed.

Installation

Usage

  • Create a boolean field.
  • On the entity's display settings, set the display to use "Boolean Block Formatter" for the boolean field.
  • Select the block you need to display on the field formatter settings.

Important Note

This module loads only the configured blocks, that means a block that is placed in the block layout. It does not load plugins. You can place the block in the Disabled section, if you only want to configure the block, but don't want to show the block in a region.

Similar Modules

Supporting organizations: 

Project information

Releases