EmbeddedViewField

Component ID

2543014

Component name

EmbeddedViewField

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1003

Component created

Component changed

Component body

EmbeddedViewField is a module that will allow you to render a view as any other field.

It is based on keithm's ViewField module, except that it will always render the view, regardless of whether the user is editing or displaying the entity that has the EmbeddedViewField. The view used for displaying is controlled by the default value set for the view.

This is useful in situations where you don't want end users to control the content being displayed by the view, but you still want a flexible way to insert content (views with text, images, media etc.) along with the rest of the fields in the form.

Context, Panels and Blocks could be used to place views and edit forms in the same page, but not to embed views between specific fields.

Features:

  • Views and displays can be selected using drop down menus.
  • View arguments are supplied through tokens.
  • No code needed to embed a view in an edit form.
  • Unlimited number of embeddedviewfields can be used and each one can be re-ordered within the form.

This module could be a solution for the following threads:

Similar projects

.