Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CacheableAccessDeniedHttpException.php

function CacheableAccessDeniedHttpException::__construct

Overrides AccessDeniedHttpException::__construct

2 calls to CacheableAccessDeniedHttpException::__construct()
EntityAccessDeniedHttpException::__construct in core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php
EntityAccessDeniedHttpException constructor.
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\Exception

Code

public function __construct(CacheableDependencyInterface $cacheability, $message = '', ?\Exception $previous = NULL, $code = 0) {
    $this->setCacheability($cacheability);
    parent::__construct($message, $previous, $code);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal