
Problem/Motivation
Turns out that ?? $fallback only applies if the value is NULL, not an empty string. Happens when you have some attribute definitions that do not have a template.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork ww_publish-3211642
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
berdirPushed a fix for ParagraphField::getAttributeContent(), but we have the same method also on Field. Lets use this opportunity to move this method and maybe 2-3 other identical methods in those classes to the FieldTrait. Note that some classes might have the same name but different logic/arguments.
Comment #5
johnchqueComment #6
berdirComment #7
johnchqueComment #9
berdirThanks, merged.