You are here

class WorkspaceAccessException in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workspaces/src/WorkspaceAccessException.php \Drupal\workspaces\WorkspaceAccessException
  2. 9 core/modules/workspaces/src/WorkspaceAccessException.php \Drupal\workspaces\WorkspaceAccessException

Exception thrown when trying to switch to an inaccessible workspace.

Hierarchy

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
WorkspaceIntegrationTest.php in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
WorkspacePublishForm.php in core/modules/workspaces/src/Form/WorkspacePublishForm.php
WorkspacesContentModerationStateTest.php in core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php

... See full list

File

core/modules/workspaces/src/WorkspaceAccessException.php, line 10

Namespace

Drupal\workspaces
View source
class WorkspaceAccessException extends AccessException {

}

Members