Creating a tagging functionality for media entities (Drupal 8)

by Noel   Last Updated January 02, 2018 06:07 AM

Would like to ask for some insights on a tagging functionality I'm trying to build for my media entities. I'm using entity reference on media entities so that it can be associated with a specific node. You can see the screenshots below

enter image description here

For this media entity I have associated it with a specific node Enviromental Migration

enter image description here

My second concern is how can I make those media entities which are only associated with that node to appear on my twig/template file

enter image description here

<div class="layout-container">
    {{ page.content }}

    {{ drupal_view('media_by_category_view', 'block_1') }}

enter image description here

Tags : entities

Related Questions

How to create a custom template for entities?

Updated April 07, 2015 03:03 AM

Drupal 8 Custom Entities from a UI?

Updated July 14, 2015 15:03 PM