neos/neos-development-collection

Get rid of NodeTypeConfigurationEnrichmentAspect

開放

#2,867 建立於 2020年1月17日

 (4 則留言) (0 個反應) (0 位負責人)PHP (248 個分叉)auto 404
!!! Next majorI: Discussion‌‌help wanted

倉庫指標

星標
 (267 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

The NodeTypeConfigurationEnrichmentAspect hooks into the NodeType::__construct and post-processes the node type configuration in three steps:

  • addEditorDefaultsToNodeTypeConfiguration
  • addLabelsToNodeTypeConfiguration
  • mapIconNames

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.

貢獻者指南