RendererTest::$defaultThemeVars
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\RendererTest::defaultThemeVars
- 10 core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\RendererTest::defaultThemeVars
- 11.x core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\RendererTest::defaultThemeVars
Type: defaultThemeVars
File
-
core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php, line 25
Class
- RendererTest
- @coversDefaultClass \Drupal\Core\Render\Renderer @group Render
Namespace
Drupal\Tests\Core\RenderCode
protected $defaultThemeVars = [
'#cache' => [
'contexts' => [
'languages:language_interface',
'theme',
],
'tags' => [],
'max-age' => Cache::PERMANENT,
],
'#attached' => [],
'#children' => '',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.