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

Breadcrumb

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

function Renderer::setCommonTemplateVariables

3 calls to Renderer::setCommonTemplateVariables()
Dashboard::render in vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Dashboard.php
Directory::render in vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Directory.php
File::render in vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/File.php

File

vendor/phpunit/php-code-coverage/src/Report/Html/Renderer.php, line 162

Class

Renderer
@internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage

Namespace

SebastianBergmann\CodeCoverage\Report\Html

Code

protected function setCommonTemplateVariables(Template $template, AbstractNode $node) : void {
    $template->setVar([
        'id' => $node->id(),
        'full_path' => $node->pathAsString(),
        'path_to_root' => $this->pathToRoot($node),
        'breadcrumbs' => $this->breadcrumbs($node),
        'date' => $this->date,
        'version' => $this->version,
        'runtime' => $this->runtimeString(),
        'generator' => $this->generator,
        'low_upper_bound' => $this->thresholds
            ->lowUpperBound(),
        'high_lower_bound' => $this->thresholds
            ->highLowerBound(),
    ]);
}

API Navigation

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