Problem/Motivation
Theme development for drupal is too complicated, with too many layers. We aim to remove the whole Process layer, but that can only be done in small pieces.
Proposed resolution
Since we can now flatten data structures to arrays to strings as part of the rendering process, we will need to go through all the process functions in core and remove this flattening. Examples of functions that can be removed include template_process().
Remaining tasks
- go through all process functions in core
- remove flattening everywhere it appears
- make sure flattening happens when content is rendered
API changes
?
Comments
Comment #0.0
jenlamptonclarify motivation
Comment #1
andypostBut whats about processing in form's render?
Comment #1.0
andypostadd remaining tasks
Comment #2
nod_I'm supposing that the whole twig situation fixed this? if not feel free to reopen.
Comment #3
star-szrYup! https://www.drupal.org/node/2038981
Thanks @nod_ :)