Module Description
ABOUT Entity Reference Ajax Formatter provides a new configurable field formatter for entity reference fields. This formatter lets you select how many entities to render as well as providing some extra sorting options for display only. However the standout feature is an AJAX enabled Load More link. This lets you initially load say 3 references and then if the user wants to see more, click the link and display more inline.

The widget has the same option of selecting the desired view mode to render the entities with and provides 4 extra settings:


* Number(6): Number of entities to render to start with.
* Sort (Default): Provides a few extra sorting options that only affects this view mode.
* Load More (FALSE): Provide an AJAX link to load more referenced entities.
* Max (0): Maximum number to render. 0 is all entities referenced by the field. (Only visible if Load More is selected.)

REQUIREMENTS Drupal 10 is recommended - 8 is probably supported by no longer tested. Automatic tests for Drupal 9.5 and 10.x

INSTALLATION Install as you would normally install a contributed Drupal module. See the install docs if required in the Drupal documentation for further information.

CONFIGURATION Configuration can be set as normal for field formatters through the Field UI for example, for a entity reference field on the article node type, that would be on /admin/structure/types/manage/article/form-display.

CREDITS Primarily developed as part of a North Studio project - thanks for the permission to release this back to the community. Major thanks to the rest of my team for code review, feedback and discussion.

FAQ Any questions? Ask away on the issue queue or contact the maintainer Nick Dickinson-Wilde.

Project Usage
151
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Entity Reference Ajax Formatter provides a configurable field formatter for entity reference fields with an AJAX enabled Load More link for displaying more referenced entities inline.
Data Name
entity_reference_ajax_formatter

OPENAI CHATBOT

OPENAI CHATBOT

12:27:25
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.