You are here

protected property RendererTestBase::$rendererConfig in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Render/RendererTestBase.php \Drupal\Tests\Core\Render\RendererTestBase::rendererConfig

The mocked renderer configuration.

Type: array

File

core/tests/Drupal/Tests/Core/Render/RendererTestBase.php, line 102
Contains \Drupal\Tests\Core\Render\RendererTestBase.

Class

RendererTestBase
Base class for the actual unit tests testing \Drupal\Core\Render\Renderer.

Namespace

Drupal\Tests\Core\Render

Code

protected $rendererConfig = [
  'required_cache_contexts' => [
    'languages:language_interface',
    'theme',
  ],
  'auto_placeholder_conditions' => [
    'max-age' => 0,
    'contexts' => [
      'session',
      'user',
    ],
    'tags' => [
      'current-temperature',
    ],
  ],
];