protected function WebTestBase::setHttpResponseDebugCacheabilityHeaders in Drupal 8
Enables/disables the cacheability headers.
Sets the http.response.debug_cacheability_headers container parameter.
Parameters
bool $value: (optional) Whether the debugging cacheability headers should be sent.
File
- core/
modules/ simpletest/ src/ WebTestBase.php, line 2078
Class
- WebTestBase
- Test case for typical Drupal tests.
Namespace
Drupal\simpletestCode
protected function setHttpResponseDebugCacheabilityHeaders($value = TRUE) {
$this
->setContainerParameter('http.response.debug_cacheability_headers', $value);
$this
->rebuildContainer();
$this
->resetAll();
}