function CacheableNotAcceptableHttpException::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php \Drupal\Core\Http\Exception\CacheableNotAcceptableHttpException::__construct()
- 8.9.x core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php \Drupal\Core\Http\Exception\CacheableNotAcceptableHttpException::__construct()
- 10 core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php \Drupal\Core\Http\Exception\CacheableNotAcceptableHttpException::__construct()
File
-
core/
lib/ Drupal/ Core/ Http/ Exception/ CacheableNotAcceptableHttpException.php, line 19
Class
- CacheableNotAcceptableHttpException
- A cacheable NotAcceptableHttpException.
Namespace
Drupal\Core\Http\ExceptionCode
public function __construct(CacheableDependencyInterface $cacheability, $message = '', ?\Exception $previous = NULL, $code = 0) {
$this->setCacheability($cacheability);
parent::__construct($message, $previous, $code);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.