Problem/Motivation
DisplayBuilder class is massive (660 lines including 380 PHP lines).
Some entity types have a view_builder handler to move the rendering logic into a dedicated class. Example:
handlers: [
'storage' => NodeStorage::class,
'view_builder' => NodeViewBuilder::class,
'access' => NodeAccessControlHandler::class,
Proposed resolution
Let's do the same.
Issue fork display_builder-3542000
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
pdureau commentedDone & pushed, but we need to wait some other tasks to finish:
Comment #4
pdureau commentedLet's not forget to also update the graphs in the documentation.
Comment #5
pdureau commentedComment #6
pdureau commentedComment #11
mogtofu33 commented