I have a Family content type and a Person content type. A Family has an Entity Reference field to one or more Persons.

The normal workflow requires me to first create the Persons, then create the Family and then add the Persons to the Family, but I want to create the Family first and create persons while adding them.

This is achieved in Drupal 7 with the Inline Entity Form. Is there something like that for Drupal 8? Any alternative?

  • 1
    do you found a solution? – Adrian Cid Almaguer Feb 15 '16 at 14:07
  • 1
    I gave up on doing that project on Drupal, so in the end I did not thoroughly try any of the options given. – xabitrigo Feb 16 '16 at 11:23

You can use the alpha version and the dev version of the Inline Entity Form

enter image description here

|improve this answer|||||

@webflo created an inline entity form port, I haven't tried it yet: https://github.com/webflo/inline_entity_form

|improve this answer|||||

There is another promising alternative is the Entity Browser module:

Goal of this module is to provide a generic entity browser/picker/selector. It can be used in any context where one needs to select few entities and do something with them.

Possible use cases:

  • powerfull entity reference widget,
  • embedding entities into wysiwyg,
  • you name it!
|improve this answer|||||
  • 2
    Entity Browser module allows you to select (browse for) entities that are already created. It does not allow you to create new entities. You can, however, use Entity Browser with Inline Entity Form - use entity browser as the mechanism to search for your entity (instead of inline entity form's autocomplete feature). I'm using inline entity form on a D8 site (not live yet) and it's working very well. – Mark Conroy Jun 20 '16 at 7:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.