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
Ran the checking tool against commit 3eb2fca6:
./vendor/bin/drupal-check modules/contrib/term_csv_export_import/
5/5 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ---------------------------------------------------
Line src/Controller/ImportController.php
------ ---------------------------------------------------
47 Call to deprecated function drupal_set_message().
80 Call to deprecated function drupal_set_message().
121 Call to deprecated function drupal_set_message().
129 Call to deprecated function drupal_set_message().
148 Call to deprecated function drupal_set_message().
244 Call to deprecated function drupal_set_message().
267 Call to deprecated function drupal_set_message().
276 Call to deprecated function drupal_set_message().
285 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
[ERROR] Found 9 errors
Remaining tasks
Replace calls to deprecated code.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3109001-2.patch | 5.18 KB | John Cook |
Comments
Comment #2
John Cook CreditAttribution: John Cook at Creode commentedI've created a patch to address the deprecated code.
Comment #3
Ankush_03Patch Working fine !
Comment #5
el1_1el CreditAttribution: el1_1el commentedThanks!