nuvoleweb / ui_patterns

[NOTE] Development has moved to https://drupal.org/project/ui_patterns
https://drupal.org/project/ui_patterns
GNU General Public License v2.0
85 stars 56 forks source link

Layout patterns #359

Open greenSkin opened 1 year ago

greenSkin commented 1 year ago

When using pattern layouts via for view displays, the field values passed to the templates can't accurately be checked if they are empty. When fields passed to the layout are effectively empty, I see an array of fields keyed by field name each with an array containing keys #cache and #weight. For cross compatibility, templates shouldn't require rendering in order to correctly identify if the template field is in fact empty.

mika2na commented 1 year ago

Please post your issue on https://www.drupal.org/project/issues/ui_patterns