Change record status: 
Project: 
Introduced in branch: 
11.3.x
Introduced in version: 
11.3.0
Description: 

A new EntityReferenceSelection plugin has been added for block_content entities. This automatically filters out non-reusable block_content entities.

This filtering was previously done by BlockContentHooks::queryEntityReferenceAlter to automatically add the condition on the reusable field if it didn't already exist.

This automatic addition of the reusable field is now deprecated. You can either:

  1. Add the condition manually to your custom EntityReferenceSelection plugin.
  2. Or, extend \Drupal\block_content\Plugin\EntityReferenceSelection\BlockContentSelection from your plugin.
Impacts: 
Module developers