RendererTestBase::$cacheContexts
Type: \Drupal\Core\Cache\Context\CacheContextsManager|\PHPUnit\Framework\MockObject\MockObject
File
-
core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTestBase.php, line 62
Class
- RendererTestBase
- Base class for the actual unit tests testing <a href="/api/drupal/core%21lib%21Drupal%21Core%21Render%21Renderer.php/class/Renderer/8.9.x" title="Turns a render array into a HTML string." class="local">\Drupal\Core\Render\Renderer</a>.
Namespace
Drupal\Tests\Core\RenderCode
protected $cacheContexts;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.