Skip to content
Snippets Groups Projects
Commit e88b9a0f authored by Benni Mack's avatar Benni Mack Committed by Oliver Hader
Browse files

[!!!][FEATURE] Replace $GLOBALS['PAGES_TYPES'] with shared state object

This change introduces a new registry class to be used
automatically instead of accessing $GLOBALS['PAGES_TYPES']
which is not evaluated anymore.

Also, instead of ExtensionManagementUtility::allowTableOnStandardPages()
the flag $TCA[$table][ctrl][security][ignorePageTypeRestriction]
is introduced which allows to avoid this call.

Resolves: #98487
Releases: main
Change-Id: I91bdb321500d133e645ccc5b6c0d159f5dd3ad87
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75188


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarKevin Appelt <kevin.appelt@icloud.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
parent a7dd0225
Branches
Tags
No related merge requests found
Showing
with 300 additions and 67 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment