drupal_set_message() deprecated for drupal 9, need to remove drupal_set_message() method
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 3070671-12.patch | 2.04 KB | phenaproxima |
drupal_set_message() deprecated for drupal 9, need to remove drupal_set_message() method
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 3070671-12.patch | 2.04 KB | phenaproxima |
Comments
Comment #2
rudranil29 commentedhere is the patch
Comment #3
rudranil29 commentedComment #5
rudranil29 commentedComment #6
richgerdesThis should be using dependency injection not using a static call to
\Drupal::messenger()Comment #7
a.dreichanHello, please review my patch!
Comment #8
a.dreichanComment #9
Iryna Milinchuk commentedReviewed patch #7
Works well for me. Thanks!
Comment #10
i-trokhanenko+1 RTBC
Comment #11
phenaproximaRunning drupal-check on HEAD of OpenAPI, with this patch applied, still gives me an error:
Attached is a patch which fixes this one too.
Comment #12
phenaproximaHmm...it looks like the test will need to be updated for compatibility with the path_alias module in D8.8. I'll leave that to someone else who knows more than I do, and possibly a follow-up issue.
Comment #13
wim leersThis is because in Drupal 8.8, path aliases became entities. Makes sense to not fix that here, to keep scope tight.
Comment #15
phenaproximaThanks, @richgerdes!
Comment #16
richgerdesThanks all for working on this! I've committed the patch against 1.x and opened #3110131: Upgrade tests to be compatible with path_alias module in D8.8 to track fixes in the tests. These issues were already fixed when the 2.x version was implemented.