Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Boolean Block Formatter

No security coverage Maintenance fixes only 1 sites

This module allows you to display a pre-configured block within your content based on the value of a boolean field. You can attach a specific block in your entity's display settings to be shown or hidden depending on whether a checkbox is checked.

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

Drupal 8–11

Ask your assistant about Boolean Block Formatter

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
3
Tracked since
Sep 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
2.1.0 Stable 8–11 Jan 31, 2025
2.0.1 Stable Sep 8, 2023
2.x-dev Dev Sep 8, 2023