Render a Snippet data object (in Twig)

Hi there I have a snippet which is assigned to a Many-To-One relation.

I want to render the Snippet object in a Twig template but I can not find any render function. I know that there is a Snippet Editable but for this use case I need the relation. How can I render a Snippet object within Twig?

{{ dump(content.getElement()) }}

returns a


Hi @Blackbam,

You can use {{ pimcore_inc() }} to include and render snippets in your documents.

1 Like

@aarongerig Ah a templating helper. This is the correct answer thanks.