ModuleAccessGateInterface
Interface for module access gates.
Gates are responsible for deciding whether a backend user has access to a module.
Each gate is registered with a unique identifier that corresponds to the access
value in a module's configuration.
Table of Contents
Methods
Methods
decide()
public
decide(ModuleInterface $module, BackendUserAuthentication $user) : ModuleAccessResult
Parameters
- $module : ModuleInterface
- $user : BackendUserAuthentication