Problem/Motivation
See #2992410-27: Provide placeholders for empty blocks (for example, an empty Views listing)
Proposed resolution
Rename PlaceholderInterface to PreviewFallbackInterface
Rename getPlaceholderString() to getPreviewFallbackString()
Remaining tasks
Do it
User interface changes
N/A
API changes
Yes
Data model changes
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3013187-placeholder-2.patch | 6.51 KB | tim.plunkett |
Comments
Comment #2
tim.plunkettComment #3
wim leersThanks! 👍
Comment #4
larowlanThis is a BC break, we need to retain the old method and defer to the new one, with a trigger_error (and a legacy test)
We can't remove an interface - its a BC break. Can you reinstate it and deprecate it with a legacy test and a trigger_error
Comment #5
tim.plunkettAfaik this was never in a tagged release, doesn't that exempt it?
Comment #6
tim.plunkettAlso it could be reverted and reworked if that helps, process-wise
Comment #7
larowlanYou're correct, this was only backported to 8.6 6 days ago.
Comment #10
larowlanCommitted d1c7fa1 and pushed to 8.7.x. Thanks!
Cherry-picked to 8.6.x as 8e63304170
Comment #11
wim leers🎉