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.
Found deprecation issues:
------ ----------------------------------------------------------------------
Line field_defaults.module
------ ----------------------------------------------------------------------
193 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/SettingsForm.php
------ ----------------------------------------------------------------------
71 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------
Line src/Tests/FieldDefaultsTestBase.php
------ -----------------------------------------------------------------------------------------------------------------
10 Class Drupal\field_defaults\Tests\FieldDefaultsTestBase extends deprecated class Drupal\simpletest\WebTestBase:
in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.
40 Call to method setUp() of deprecated class Drupal\simpletest\WebTestBase:
in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.
57 Call to method drupalLogin() of deprecated class Drupal\simpletest\WebTestBase:
in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.
------ -----------------------------------------------------------------------------------------------------------------
[ERROR] Found 5 errors
Found related issue to review for the drupal_set_message() deprecation. Patch for remaining items to follow.
Comment | File | Size | Author |
---|---|---|---|
#4 | 3135659-4.patch | 3.26 KB | sharma.amitt16 |
Comments
Comment #2
sharma.amitt16 CreditAttribution: sharma.amitt16 as a volunteer and at Srijan | A Material+ Company for Drupal India Association commentedIt's a duplicate issue with
https://www.drupal.org/project/field_defaults/issues/3090709
Please check before creating a new issue of the same kind.
Comment #3
MattKD CreditAttribution: MattKD at Chromatic commentedI mentioned the existing issue in the description, and added it as a related issue. This issue is meant to resolve the remaining errors and required info file update.
Comment #4
sharma.amitt16 CreditAttribution: sharma.amitt16 as a volunteer and at Srijan | A Material+ Company for Drupal India Association commentedApologies, I missed the note about the duplicate link.
Kindly review the patch.
Comment #5
b_sharpe CreditAttribution: b_sharpe at ImageX commented