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

Breadcrumb

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

function Template::display

1 call to Template::display()
Template::render in vendor/twig/twig/src/Template.php

File

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

Class

Template
Default base class for compiled templates.

Namespace

Twig

Code

public function display(array $context, array $blocks = []) : void {
    foreach ($this->yield($context, $blocks) as $data) {
        echo $data;
    }
}

API Navigation

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