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
------ -------------------------------------------------------------
Line message_subscribe_email/message_subscribe_email.install
------ -------------------------------------------------------------
15 Call to deprecated function entity_get_form_display():
in drupal:8.8.0 and will be removed from drupal:9.0.0. Use
EntityDisplayRepositoryInterface::getFormDisplay() instead.
------ -------------------------------------------------------------
------ -------------------------------------------------------------------------
Line message_subscribe_email/message_subscribe_email.module
------ -------------------------------------------------------------------------
77 Call to deprecated function db_select():
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
a database connection injected into your service from the container and
call select() on it. For example,
------ -------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------
Line message_subscribe_email/tests/src/Functional/ViewsTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------
16 Usage of deprecated trait Drupal\simpletest\ContentTypeCreationTrait in class Drupal\Tests\message_subscribe_email\Functional\ViewsTest:
in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
\Drupal\Tests\node\Traits\ContentTypeCreationTrait instead.
17 Usage of deprecated trait Drupal\simpletest\NodeCreationTrait in class Drupal\Tests\message_subscribe_email\Functional\ViewsTest:
in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
\Drupal\Tests\node\Traits\NodeCreationTrait instead.
------ ------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line message_subscribe_email/tests/src/FunctionalJavascript/MessageSubscribeEmailTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12 Class Drupal\Tests\message_subscribe_email\FunctionalJavascript\MessageSubscribeEmailTest extends deprecated class Drupal\FunctionalJavascriptTests\JavascriptTestBase:
in Drupal 8.6.x, will be removed before Drupal 9.0.0.
Use \Drupal\FunctionalJavascriptTests\WebDriverTestBase instead
44 Call to method setUp() of deprecated class Drupal\Tests\BrowserTestBase:
in Drupal 8.6.x, will be removed before Drupal 9.0.0.
Use \Drupal\FunctionalJavascriptTests\WebDriverTestBase instead
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line message_subscribe_ui/tests/src/Functional/SubscriptionsBlockTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
17 Usage of deprecated trait Drupal\Tests\taxonomy\Functional\TaxonomyTestTrait in class Drupal\Tests\message_subscribe_ui\Functional\SubscriptionsBlockTest:
in Drupal 8.8.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait instead.
18 Usage of deprecated trait Drupal\field\Tests\EntityReference\EntityReferenceTestTrait in class Drupal\Tests\message_subscribe_ui\Functional\SubscriptionsBlockTest:
in Drupal 8.6.2 for removal before 9.0.0. Use
Drupal\Tests\field\Traits\EntityReferenceTestTrait instead.
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
Line tests/src/Kernel/ContextTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
23 Usage of deprecated trait Drupal\field\Tests\EntityReference\EntityReferenceTestTrait in class Drupal\Tests\message_subscribe\Kernel\ContextTest:
in Drupal 8.6.2 for removal before 9.0.0. Use
Drupal\Tests\field\Traits\EntityReferenceTestTrait instead.
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line tests/src/Kernel/MessageSubscribeTestBase.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
17 Usage of deprecated trait Drupal\simpletest\ContentTypeCreationTrait in class Drupal\Tests\message_subscribe\Kernel\MessageSubscribeTestBase:
in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
\Drupal\Tests\node\Traits\ContentTypeCreationTrait instead.
19 Usage of deprecated trait Drupal\simpletest\NodeCreationTrait in class Drupal\Tests\message_subscribe\Kernel\MessageSubscribeTestBase:
in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
\Drupal\Tests\node\Traits\NodeCreationTrait instead.
20 Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class Drupal\Tests\message_subscribe\Kernel\MessageSubscribeTestBase:
in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
Drupal\Tests\user\Traits\UserCreationTrait instead.
67 Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode:
in Drupal 8.6.0, will be removed before Drupal 9.0.0. Use
mb_strtolower() instead.
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line tests/src/Kernel/SubscribersTest.php
------ -----------------------------------------------------------------------------------
408 Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode:
in Drupal 8.6.0, will be removed before Drupal 9.0.0. Use
mb_strtolower() instead.
------ -----------------------------------------------------------------------------------
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#4 | fix_deprecations-3085705-4.patch | 6.44 KB | jhedstrom |
Comments
Comment #2
jhedstromComment #4
jhedstromHad the wrong display (view instead of form.)
Comment #6
jhedstrom