class AccessException in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Access/AccessException.php \Drupal\Core\Access\AccessException
An exception thrown for access errors.
Examples could be invalid access callback return values, or invalid access objects being used.
Hierarchy
- class \Drupal\Core\Access\AccessException extends \Drupal\Core\Access\RuntimeException
Expanded class hierarchy of AccessException
3 files declare their use of AccessException
- AccessManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Access/ AccessManagerTest.php - Contains \Drupal\Tests\Core\Access\AccessManagerTest.
- LatestRevisionCheck.php in core/
modules/ content_moderation/ src/ Access/ LatestRevisionCheck.php - WorkspaceAccessException.php in core/
modules/ workspaces/ src/ WorkspaceAccessException.php
File
- core/
lib/ Drupal/ Core/ Access/ AccessException.php, line 11
Namespace
Drupal\Core\AccessView source
class AccessException extends \RuntimeException {
}