neos/neos-development-collection
Get rid of NodeTypeConfigurationEnrichmentAspect
オープン
#2,867 opened on 2020/01/17
!!! Next majorI: Discussionhelp wanted
Repository metrics
- Stars
- (267 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
The NodeTypeConfigurationEnrichmentAspect hooks into the NodeType::__construct and post-processes the node type configuration in three steps:
addEditorDefaultsToNodeTypeConfigurationaddLabelsToNodeTypeConfigurationmapIconNames
Using AOP for this seems needlessly complex and hard to debug. Furthermore it's no longer possible to adjust this behavior.
I would suggest to create three NodeTypePostprocessors as a replacement for the AOP aspect.