StateUtility
Helper class to check if the admin panel is enabled and active from outside
Useful for initialization, checks in early hooks or middleware implementations
Table of Contents
Methods
- isActivatedForUser() : bool
- Checks if adminPanel was configured to be shown
- isActivatedInTypoScript() : bool
- isHiddenForUser() : bool
- isOpen() : bool
- Returns true if admin panel was activated (switched "on" via GUI)
Methods
isActivatedForUser()
Checks if adminPanel was configured to be shown
public
static isActivatedForUser() : bool
Return values
boolisActivatedInTypoScript()
public
static isActivatedInTypoScript() : bool
Return values
boolisHiddenForUser()
public
static isHiddenForUser() : bool
Return values
boolisOpen()
Returns true if admin panel was activated (switched "on" via GUI)
public
static isOpen() : bool