[Neos] Split NodeTypes.yaml into multiple files?

Bastian Waidelich bastian at typo3.org
Tue Jan 21 10:45:24 CET 2014


Marcin Ryzycki wrote:

Hi Marcin,

> Just for code organisaton purposes, is there a way to split
> NodeTypes.yaml into multiple files?
> If you add plenty of costom types, the single file quickly gets hard to
> navigate.

> Was trying with $configurationManager->registerConfigurationType() but
> no luck so far.


That was the right place. I think we'd only need to add a 3rd parameter 
TRUE to line 34 in the TYPO3CR Package.php [1] that sets the 
"allowSplitSource" flag in the registerConfigurationType method[2].


Feel free to report this on forge!



[1] 
https://git.typo3.org/Packages/TYPO3.TYPO3CR.git/blob/HEAD:/Classes/TYPO3/TYPO3CR/Package.php#l34

[2] 
https://git.typo3.org/Packages/TYPO3.Flow.git/blob/HEAD:/Classes/TYPO3/Flow/Configuration/ConfigurationManager.php#l220


-- 
Bastian Waidelich


More information about the Neos mailing list