ReplacedModuleAccessGates
final readonly class \
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.
Internal
Bridge for deprecated module access gates, to be removed with them.
Table of Contents
Methods
- __construct() : mixed
- isReplaced() : bool
Methods
__construct()
public
__construct(ModuleAccessGateRegistry $gateRegistry) : mixed
Parameters
- $gateRegistry : ModuleAccessGateRegistry
isReplaced()
public
isReplaced(string $access) : bool
Parameters
- $access : string