[Neos] Why not to subclass TYPO3.Neos:ContentCollection?

Marcin Ryzycki marcin at ryzycki.com
Sun Jan 19 17:00:33 CET 2014


Hi,

In NodeTypes.yaml inside TYPO3.Neos package it's stated:

# Cannot be subclassed.
'TYPO3.Neos:ContentCollection':

The question is: why it cannot / should not be subclassed? What are the 
consequences if I subclass it and use that subclass in my NodeTypes?

Ii seems to work fine, i.e. I can subclass it, add custom label, 
properties, use it in custom NodeType in 'childNodes', it works in the 
backend, it renders content collection in the frontend.

Where's the catch?

-- 
Marcin Ryzycki
Certified TYPO3 Integrator (2009)

http://million12.com/
https://plus.google.com/+MarcinRyzycki12/



More information about the Neos mailing list