Edit on GitHub
Jump to docs navigation

Twig Components / Methods / render_

render_*(strategy, uri, options = []) is a Twig function to make a request to the given internal URI or controller and returns the result. The render strategy can be specified in the strategy key of the options. It’s commonly used to embed controllers in templates.

Source: Symfony



Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.