ui_patterns
ui_patterns copied to clipboard
Layout patterns
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.
Please post your issue on https://www.drupal.org/project/issues/ui_patterns