You are here

entity_embed_twig_test.html.twig in Entity Embed 8

{#
/**
  * Template for testing entity_embed twig extension.
  *
  * Available variables:
  * - entity_type: Machine name of the entity type.
  * - id: ID or UUID of the entity to be embedded.
  * - display_plugin: Machine name of the Entity Embed Display plugin.
  * - display_settings: An array of settings to be passed to the selected Entity
  *   Embed Display plugin.
#}
{{ entity_embed(entity_type, id, display_plugin, display_settings) }}

File

tests/modules/entity_embed_test/templates/entity_embed_twig_test.html.twig
View source
  1. {#
  2. /**
  3. * Template for testing entity_embed twig extension.
  4. *
  5. * Available variables:
  6. * - entity_type: Machine name of the entity type.
  7. * - id: ID or UUID of the entity to be embedded.
  8. * - display_plugin: Machine name of the Entity Embed Display plugin.
  9. * - display_settings: An array of settings to be passed to the selected Entity
  10. * Embed Display plugin.
  11. #}
  12. {{ entity_embed(entity_type, id, display_plugin, display_settings) }}