OSTraining: How to Embed Drupal Entities with the Entity Browser Module

0 Flares Twitter 0 Facebook 0 Filament.io 0 Flares ×
How to Embed Drupal Entities with the Entity Browser Module

In this blog post, I’m going to show you how embed Drupal entities using the “Entity Browser” module.

This tutorial was requested by an OSTraining customer who is building a book review site. The customer wanted to use Entity Browser so that they can create this feature:

  • The site has two content types: Books and Book Reviews.
  • When users create a new Book Review, they can use a view to search for and select the book they’re reviewing. For example, if they’re reviewing “War and Peace”, they can search for the exisiting “War and Peace” node.
  • When the book review is published, the selected node will be embedded inside the book review.