neos/neos-development-collection
Get rid of NodeTypeConfigurationEnrichmentAspect
開放
#2,867 建立於 2020年1月17日
!!! Next majorI: Discussionhelp wanted
倉庫指標
- 星標
- (267 顆星)
- PR 合併指標
- (PR 指標待抓取)
描述
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.