Drupal is a registered trademark of Dries Buytaert
Release: Excel Serialization 2.1.2 Minor update available for module xls_serialization (2.1.2). Release: Time Zone Field 8.x-1.14 Minor update available for module tzfield (8.x-1.14). Module Revived: Entity API 8.x-1.7 Module entity updated after 17 months of inactivity (8.x-1.7). Release: Vartheme Bs5 4.1.1 Minor update available for theme vartheme_bs5 (4.1.1). Release: Varbase Heroslider 1.1.3 Minor update available for module varbase_heroslider (1.1.3). Release: Varbase Demo 1.1.2 Minor update available for module varbase_demo (1.1.2). Release: Varbase Dashboards 2.0.3 Minor update available for module varbase_dashboards (2.0.3). Release: Varbase AI 2.0.9 Minor update available for module varbase_ai (2.0.9). Release: Varbase Workflow 3.1.2 Minor update available for module varbase_workflow (3.1.2). Security Coverage: Role Aware Maxlength Module role_aware_maxlength now has official Drupal security advisory coverage.

Boolean Block Formatter

1 sites No security coverage
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

Activity

Tracked releases
1
Tracked since
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
2.1.0 Stable Jan 31, 2025