Problem/Motivation
Due to deprecated placeholder notations errors are thrown at Old Code Ads and Old Search tabs.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | interdiff-3239827-2-5.txt | 2.05 KB | omkar.podey |
| #5 | deprecated_placeholder_notations-3239827-5.patch | 2.05 KB | omkar.podey |
Comments
Comment #2
omkar.podey commentedComment #3
omkar.podey commentedComment #4
wim leersis not the same as tests passing … but that apparently is a pre-existing problem: https://www.drupal.org/pift-ci-job/2030375.
Oh … there aren't any tests 🤓🙈
Converting away from
!variableis good.But
:variableis wrong: see the docs at\Drupal\Component\Render\FormattableMarkup::placeholderFormat(): this is for attributes containing URLs.The correct placeholder format to use is
@variablein this case.Comment #5
omkar.podey commentedUpdated as per review.
Comment #6
omkar.podey commentedComment #8
wim leersLooking great!
Comment #9
jcnventuraThanks!
Comment #11
jcnventura