Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Here is a patch that provides a hook to retrieve candidate referenceable nodes:
hook_node_reference_FIELD_potential_references
It is useful when you need complex queries to retrieve node.
Comments
Comment #1
cthiebault CreditAttribution: cthiebault commentedSmall fix to not display any candidates if the hook exist and it returns an empty list.
Comment #3
cthiebault CreditAttribution: cthiebault commented