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
- {#
- /**
- * 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) }}