ReplacedModuleAccessGates

final readonly class \TYPO3\CMS\Backend\Security\Authorization\ReplacedModuleAccessGates

Tells whether an extension replaced the module access gate of TYPO3 Core for one of the access values "user", "admin" or "systemMaintainer", which is possible since TYPO3 v14.2. A replaced gate keeps deciding that access value, through the ModuleAccessGateVoter, instead of the ModuleVoter.

Table of Contents

Methods

__construct()  : mixed
isReplaced()  : bool

Methods

isReplaced()

public isReplaced(string $access) : bool

Parameters

$access : string

Return values

bool
On this page