public 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()

File

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

Class

Twig_TemplateInterface
Interface implemented by all compiled templates.

Code

public function render(array $context);