class WorkspaceAccessException

Same name in other branches
  1. 9 core/modules/workspaces/src/WorkspaceAccessException.php \Drupal\workspaces\WorkspaceAccessException
  2. 8.9.x core/modules/workspaces/src/WorkspaceAccessException.php \Drupal\workspaces\WorkspaceAccessException
  3. 10 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

3 files declare their use of WorkspaceAccessException
WorkspaceActivateForm.php in core/modules/workspaces/src/Form/WorkspaceActivateForm.php
WorkspacePublishForm.php in core/modules/workspaces/src/Form/WorkspacePublishForm.php
WorkspaceSwitcherForm.php in core/modules/workspaces/src/Form/WorkspaceSwitcherForm.php

File

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

Namespace

Drupal\workspaces
View source
class WorkspaceAccessException extends AccessException {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.