function Twig_TemplateInterface::render

Renders the template with the given context and returns it as string.

Parameters

array $context An array of parameters to pass to the template:

Return value

string The rendered template

1 method overrides Twig_TemplateInterface::render()
Twig_Template::render in drupal/core/vendor/twig/twig/lib/Twig/Template.php
Renders the template with the given context and returns it as string.

File

drupal/core/vendor/twig/twig/lib/Twig/TemplateInterface.php, line 31

Class

Twig_TemplateInterface
Interface implemented by all compiled templates.

Code

function render(array $context);