eca_content: Reference Selection event does not work when entity type is not restricted

Issue information

From user: mxh

Related to !365 (merged)

Contribution record

Fork management

Problem/Motivation

The events "Entity reference selection" and "Options selection" allow to optionally restrict by entity type and bundle. However, when the restriction is not used, the event does not apply.

Steps to reproduce

Proposed resolution

Remaining tasks

Fix the bug.

User interface changes

API changes

Data model changes

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information