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
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 CreditAttribution: John Cook at Creode 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 CreditAttribution: Joao Sausen as a volunteer commentedThanks, I will be merging this on the next release.
Comment #7
Joao Sausen CreditAttribution: Joao Sausen as a volunteer commentedThis is merged on 8.x-2.x-dev
Comment #8
Joao Sausen CreditAttribution: Joao Sausen as a volunteer commentedComment #10
edycarreyes99 CreditAttribution: edycarreyes99 at MTech, LLC commentedadded core_version_requirement to the module.info.yml file