Problem/Motivation
This may be useful, to be able to use the views rows source in a new manner.
Indeed, today it returns an array of renderable. Each of those renderable is a row (such renderable may be of type views_view_field for example when one select fields as row style plugin).
Why not adding an option that allows to convert each row as a table of fields?
this allows to more easily inject this data into the slot of a table component for example,
where such component slot could expect an array of depth 2 (depth 1 = row, depth2 = cells)
Issue fork ui_patterns-3533929
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 #2
just_like_good_vibesComment #4
just_like_good_vibesComment #5
pdureau commentedThis new
ui_patterns_views_rows_as_fieldsconfiguration in theViewRowsSourceplugin is not necessary because:It would be better to catch the returned renderable from some
ViewRowplugins, and to tidy it. If we want a list of renderables:viewsmoduleComment #6
just_like_good_vibesComment #7
just_like_good_vibesComment #8
just_like_good_vibesComment #9
just_like_good_vibesComment #11
just_like_good_vibes