Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Boolean Block Formatter

1 sites No security coverage Drupal 8–11
View on drupal.org

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

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
1
Tracked since
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
2.1.0 Stable 8–11 Jan 31, 2025