This module allows you to find similar content based on shared entity references, rather than just taxonomy terms. It can be used to create similarity scores within views, offering more flexibility than the original module.
Forked from the Similar By Terms, this module uses an entity reference field (rather than the taxonomy index) to count shared references between entities and create a similarity score in a view.
Advantages over Similar By Terms
- not restricted to taxonomy term references
- could be expanded to work for more than just node views
Known Limitations
- cannot use multiple Similar by reference contextual filters on the same view
- only compares entities of the same entity type
- only compares entities of different bundles if they share the same reference field
- not designed for Dynamic Entity Reference fields or Entity Reference Revision fields
Ask your assistant about Similar By Reference
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- views Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.