node_boolean
This module is a simple plugin to enable boolean (checkbox) fields on a node to be used as a condition to determine whether or not a block (or other entity using conditions for visibility) should be visible.
Usage
If you wish to show a block on a content page (node), but only when a checkbox has been checked on that node, then edit the block (in Block Layout: admin/structure/block) and select Node Boolean under Visibility and select the field whose value will be evaluated.
Requirements
This module relies on the core node module being installed.
Similar Projects
Entity Field Condition
The entity field condition module is really good as it allows the use of any field type, but with the limitation of only allowing a single field to be evaluated. This contrasts to the Node Boolean module in its only currently being applicable to boolean fields but being able to evaluate against multiple boolean fields and comparing them in an either all or any combination.
Known Limitations
- This module is currently limited to Node fields but could be extended to apply to other entity types.