Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Template.php

function Template::doDisplay

Auto-generated method to display the template with the given context.

Parameters

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

array $blocks An array of blocks to pass to the template:

Return value

iterable<scalar|\Stringable|null>

1 call to Template::doDisplay()
Template::yield in vendor/twig/twig/src/Template.php

File

vendor/twig/twig/src/Template.php, line 519

Class

Template
Default base class for compiled templates.

Namespace

Twig

Code

protected abstract function doDisplay(array $context, array $blocks = []) : iterable;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal