Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
See core change record: !placeholder removed from t() and format_string()
Proposed resolution
Replace with @placeholder except URLs which get :placeholder (see New :variable placeholder for URLs in HTML attributes added to SafeMarkup::format() and t()).
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | features-placeholder-2579231-2.patch | 18.48 KB | nedjo |
|
Comments
Comment #2
nedjoPatch attached. Not sure we strictly need to change the placeholders in drush
dt()
calls, but for consistency I've done so.Without this change, there is an initially puzzling bug: clicking one of the generation buttons on the features generation form leads to the feature create/edit form.
Comment #3
nedjoComment #4
nedjoCritical because breaks Features with latest Drupal core release.
Comment #5
nedjoComment #6
mpotter CreditAttribution: mpotter commentedI think looks mostly good. One test is to put basic HTML in a Feature description, like EM or STRONG tags and make sure they work correctly in the UI. That's the only place where Features allows any markup.
Comment #8
nedjo@mpotter: thx, I did some quick testing and the description HTML seems to come through fine.
Comment #10
nedjo