You are here

protected property RendererTest::$defaultThemeVars in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\RendererTest::defaultThemeVars
  2. 9 core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\RendererTest::defaultThemeVars

File

core/tests/Drupal/Tests/Core/Render/RendererTest.php, line 25
Contains \Drupal\Tests\Core\Render\RendererTest.

Class

RendererTest
@coversDefaultClass \Drupal\Core\Render\Renderer @group Render

Namespace

Drupal\Tests\Core\Render

Code

protected $defaultThemeVars = [
  '#cache' => [
    'contexts' => [
      'languages:language_interface',
      'theme',
    ],
    'tags' => [],
    'max-age' => Cache::PERMANENT,
  ],
  '#attached' => [],
  '#children' => '',
];