function CacheableAccessDeniedHttpException::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Http/Exception/CacheableAccessDeniedHttpException.php \Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException::__construct()
- 10 core/lib/Drupal/Core/Http/Exception/CacheableAccessDeniedHttpException.php \Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException::__construct()
- 11.x core/lib/Drupal/Core/Http/Exception/CacheableAccessDeniedHttpException.php \Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException::__construct()
1 call to CacheableAccessDeniedHttpException::__construct()
- EntityAccessDeniedHttpException::__construct in core/
modules/ jsonapi/ src/ Exception/ EntityAccessDeniedHttpException.php - EntityAccessDeniedHttpException constructor.
1 method overrides CacheableAccessDeniedHttpException::__construct()
- EntityAccessDeniedHttpException::__construct in core/
modules/ jsonapi/ src/ Exception/ EntityAccessDeniedHttpException.php - EntityAccessDeniedHttpException constructor.
File
-
core/
lib/ Drupal/ Core/ Http/ Exception/ CacheableAccessDeniedHttpException.php, line 19
Class
- CacheableAccessDeniedHttpException
- A cacheable AccessDeniedHttpException.
Namespace
Drupal\Core\Http\ExceptionCode
public function __construct(CacheableDependencyInterface $cacheability, $message = NULL, \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.