Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Background

This module is an enhancement for references fields, for now it supports References and Entity reference.

By default, autocomplete widgets only shows the title and entity id, which is not a good user experience. This module creates a new view mode 'References Thumbnail', entities will show with this mode together with the autocomplete widget.

Features

  • Show an entity view for the widget, automatically refreshed when the autocomplete value changed!
  • Hide autocomplete input when there's an entity view
  • Add remove and delete(delete source) button
  • Add a refresh button for refresh all entities views manually -- needs a core patch: #1592814: Add hook alter to override field_multiple_value_form()

Installation and Configuration

  1. install and enable this module
  2. configure reference fields(so far supports all autocomplete widgets), check on 'Show References Thumbnail'
  3. manage the display of target entity bundle, customize the display for view mode 'References Thumbnail'

Road map

  • Support all references fields

Best practice with other modules

References dialog
Display Suite
Contextual links
UnlimitedField Remove

Project information