Allow passing the current entity context into reference selection methods

Allow passing the current entity context into EntityType::getEntityReferenceSelection() and EntityType::getEntityReferenceFieldSelection().

Closes #3575805

Merge request reports

Loading