-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Facilitate TCA overrides for dynamic Flux content types
Due to how TYPO3 treats TCA when compiling, several classes are blacklisted and are simply not possible to use from within TCA files. This forces Flux to use an event that triggers *after* TCA has been compiled, from which to add the various Flux-specific content types and their TCA. Because of this, the TCA of Flux-based content types cannot be modified from within TCA or TCA override files (they are loaded before the Flux content type exists and once the Flux content type is created, its TCA overrides the TCA created from files). Therefore, Flux now implements a custom TCA override file support where the TCA of dynamic Flux content types can be overridden or manipulated in the same way standard TCA can. Placing a file in your extension in Configuration/TCA/Flux, e.g. Configuration/TCA/Flux/tt_content.php will load those files after the Flux content types are registered. The files follow the same approach as a TCA override file (does not return an array, modifies $GLOBALS['TCA'] directly or uses core's assistance methods such as ExtensionManagementUtility::addToAllTCAtypes. Close: #2064
- Loading branch information
1 parent
fcc9932
commit 9fc8102
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters