Experimental project
This is a sandbox project, which contains experimental code for developer use only.
A field formatter for entity reference fields targetting views that embeds the view when entity is viewed. 2 arguments are passed into the view as contextual filters, 1.) Entity id of the parent entity and 2.) a custom string value.
Inspired by and referenced plugin code from https://www.drupal.org/project/views_field_formatter
Use cases
Helpful if you are using the paragraphs module and want to define a paragraph type referencing a view.
Limitations/TODO
Right now the view display rendered defaults to the default display.
How does this differ from views_field_formatter?
While views_field_formatter defines the view in field instance settings, this module lets user define the view in an entity reference field.
Project information
- Project categories: Site structure
- Created by squall3d on , updated

