AdminGate

final readonly class \TYPO3\CMS\Backend\Module\AccessGate\AdminGate

Implements
ModuleAccessGateInterface

Grants access only to admin users.

Deprecated

since v15, will be removed in v16. Decide module access with a security voter, see #[AsSecurityVoter]. TYPO3 Core decides the access value "admin" with the ModuleVoter.

Attributes

#[AsModuleAccessGate]
$identifier: 'admin'

Table of Contents

Interfaces

ModuleAccessGateInterface
Interface for module access gates.

Methods

decide()  : ModuleAccessResult

Methods

On this page