Problem/Motivation
Discover if there are any problems when migrating to Drupal 9.
Proposed resolution
Running drupal-check against commit 95f167d gives:
./vendor/bin/drupal-check modules/contrib/recreate_block_content/
2/2 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ---------------------------------------------------
Line recreate_block_content.module
------ ---------------------------------------------------
54 Call to deprecated function drupal_set_message().
56 Call to deprecated function drush_log().
------ ---------------------------------------------------
[ERROR] Found 2 errors
Remaining tasks
Remove deprecated code.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | interdiff04-10.txt | 413 bytes | edycarreyes99 |
| #10 | 3109039-10.patch | 413 bytes | edycarreyes99 |
| #4 | 3109039-4.patch | 696 bytes | ankush_03 |
| #2 | 3109039-2.patch | 569 bytes | john cook |
Comments
Comment #2
john cook commentedI've uploaded a patch to replace the call to
drupal_set_message().But I'm unsure how to replace
drush_log().Comment #3
ankush_03Added updated patch !
Comment #4
ankush_03Comment #5
joao sausen commentedThanks, I will be merging this on the next release.
Comment #7
joao sausen commentedThis is merged on 8.x-2.x-dev
Comment #8
joao sausen commentedComment #10
edycarreyes99 commentedadded core_version_requirement to the module.info.yml file