An open API service indexing awesome lists of open source software.

https://github.com/droath/field_condition

Drupal 8 entity field condition plugin.
https://github.com/droath/field_condition

Last synced: 2 months ago
JSON representation

Drupal 8 entity field condition plugin.

Awesome Lists containing this project

README

          

# Field Condition

## Description
The module exposes an entity field condition which can be configured to hide or show a block based on the host entity field value. Not only does this condition work with blocks, it can be used with any contributed module that utilizes the condition plugin system. Currently this only works for node entities, but there are plans to expand this concept to other entity types.

## How to Use

- Enable the `field_condition` module.
- Navigate to the block layout page `/admin/structure/block`.
- Click **Place block** or **Configure** an existing block.
- Under the **Visibility** settings you'll see the **Entity field** section, click to show configuration options.
- Configure the necessary field condition, then click **Save**.