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

Breadcrumb

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

function AccessDeniedHttpException::__construct

Overrides HttpException::__construct

2 calls to AccessDeniedHttpException::__construct()
CacheableAccessDeniedHttpException::__construct in core/lib/Drupal/Core/Http/Exception/CacheableAccessDeniedHttpException.php
CacheableAccessDeniedHttpException::__construct in core/lib/Drupal/Core/Http/Exception/CacheableAccessDeniedHttpException.php
1 method overrides AccessDeniedHttpException::__construct()
CacheableAccessDeniedHttpException::__construct in core/lib/Drupal/Core/Http/Exception/CacheableAccessDeniedHttpException.php

File

vendor/symfony/http-kernel/Exception/AccessDeniedHttpException.php, line 20

Class

AccessDeniedHttpException
@author Fabien Potencier <fabien@symfony.com> @author Christophe Coevoet <stof@notk.org>

Namespace

Symfony\Component\HttpKernel\Exception

Code

public function __construct(string $message = '', ?\Throwable $previous = null, int $code = 0, array $headers = []) {
    parent::__construct(403, $message, $previous, $headers, $code);
}

API Navigation

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