- Merge request !11Handle the case where $target_bundle_ids is not an array (such as when it's pointing to a view) → (Open) created by nicrodgers
Unable to configure or change the display of an entity_reference_override field which uses a View to select the targets. Error:
TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 53 of modules/contrib/entity_reference_override/src/Plugin/Field/FieldFormatter/EntityReferenceOverrideEntityFormatter.php).
Add an entity reference w/custom text field to a content type, configure it to use an entity reference view as a target selection method.
Go to the manage display tab and try to change the settings for Display from Label to Rendered Entity.
Handle it in the array_filter function.
Active
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.