WorkspaceSelectorSidebarComponent

final readonly class \TYPO3\CMS\Workspaces\Sidebar\WorkspaceSelectorSidebarComponent

Implements
SidebarComponentInterface

Workspace selector sidebar component.

Renders the workspace selector in the sidebar, allowing users to switch between different workspaces.

The web component fetches workspace data from the workspace_info AJAX endpoint and handles switching via workspace_switch endpoint.

Attributes

#[AsSidebarComponent]
$identifier: 'workspace-selector'
$before: ['module-menu']

Table of Contents

Interfaces

SidebarComponentInterface
Interface for backend sidebar components.

Methods

__construct()  : mixed
getResult()  : SidebarComponentResult
Render the sidebar component HTML.
hasAccess()  : bool
Check if the current user has access to this sidebar component.

Methods

On this page