Drupal blocks can be selectively shown or hidden based on different criteria. In core, these are Content types, Roles, Pages, and Language.

But there is no option for the values ​​of the fields of the content types/nodes. The module Entity Field Condition will allow you to show/hide blocks according to the type of content and the value of some field of that content.

This module provides a Condition plugin that checks whether a particular entity bundle has a field with a specific value.

Supporting organizations:
Sponsored module development
Initial Development
Refactored & Maintain the 2.x
Sponsored module maintenance and ongoing support

Project information

Releases

8.x-1.6 Stable release covered by the Drupal Security Team released 27 September 2026
Works with Drupal: ^8.7.7 || ^9.0 || ^10 || ^11
Install:

Development version: 8.x-1.x-dev updated 27 Sep 2026 at 12:27 UTC

Development version: 2.0.x-dev updated 11 May 2025 at 21:42 UTC

Using Composer to manage Drupal site dependencies