class WorkspaceAccessException
Same name in other branches
- 9 core/modules/workspaces/src/WorkspaceAccessException.php \Drupal\workspaces\WorkspaceAccessException
- 10 core/modules/workspaces/src/WorkspaceAccessException.php \Drupal\workspaces\WorkspaceAccessException
- 11.x core/modules/workspaces/src/WorkspaceAccessException.php \Drupal\workspaces\WorkspaceAccessException
Exception thrown when trying to switch to an inaccessible workspace.
Hierarchy
- class \Drupal\Core\Access\AccessException extends \Drupal\Core\Access\RuntimeException
- class \Drupal\workspaces\WorkspaceAccessException extends \Drupal\Core\Access\AccessException
Expanded class hierarchy of WorkspaceAccessException
6 files declare their use of WorkspaceAccessException
- WorkspaceAccessTest.php in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceAccessTest.php - WorkspaceActivateForm.php in core/
modules/ workspaces/ src/ Form/ WorkspaceActivateForm.php - WorkspaceDeployForm.php in core/
modules/ workspaces/ src/ Form/ WorkspaceDeployForm.php - WorkspaceIntegrationTest.php in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceIntegrationTest.php - WorkspacesContentModerationStateTest.php in core/
modules/ content_moderation/ tests/ src/ Kernel/ WorkspacesContentModerationStateTest.php
File
-
core/
modules/ workspaces/ src/ WorkspaceAccessException.php, line 10
Namespace
Drupal\workspacesView source
class WorkspaceAccessException extends AccessException {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.