Upgrade for Drupal 9 support

Created on 8 May 2021, about 3 years ago
Updated 1 November 2023, 8 months ago

Core dependency needs to be updated.

As with any issues identified by upgrade_status:

Trance, 8.x-1.1
Scanned on Sat, 05/08/2021 - 04:33

FILE:
web/modules/contrib/trance/modules/trance_example/src/Form/TranceExampleRevision
DeleteForm.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 20 Call to deprecated method getStorage() of class
Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0
and is removed from drupal:9.0.0. Use
Drupal\Core\Entity\EntityTypeManagerInterface::getStorage()
instead.
--------------------------------------------------------------------------------
Fix now 21 Call to deprecated method getStorage() of class
Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0
and is removed from drupal:9.0.0. Use
Drupal\Core\Entity\EntityTypeManagerInterface::getStorage()
instead.
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/trance/modules/trance_example/src/Form/TranceExampleRevision
RevertForm.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 19 Call to deprecated method getStorage() of class
Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0
and is removed from drupal:9.0.0. Use
Drupal\Core\Entity\EntityTypeManagerInterface::getStorage()
instead.
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/trance/modules/trance_example/src/Form/TranceExampleRevision
RevertTranslationForm.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 20 Call to deprecated method getStorage() of class
Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0
and is removed from drupal:9.0.0. Use
Drupal\Core\Entity\EntityTypeManagerInterface::getStorage()
instead.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/trance/src/Controller/TranceController.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 93 Call to deprecated method entityManager() of class
Drupal\Core\Controller\ControllerBase. Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Most of the
time static::entityTypeManager() is supposed to be used
instead.
--------------------------------------------------------------------------------
Fix now 100 Call to deprecated method entityManager() of class
Drupal\Core\Controller\ControllerBase. Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Most of the
time static::entityTypeManager() is supposed to be used
instead.
--------------------------------------------------------------------------------
Fix now 101 Call to deprecated method entityManager() of class
Drupal\Core\Controller\ControllerBase. Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Most of the
time static::entityTypeManager() is supposed to be used
instead.
--------------------------------------------------------------------------------
Fix now 130 Call to deprecated method entityManager() of class
Drupal\Core\Controller\ControllerBase. Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Most of the
time static::entityTypeManager() is supposed to be used
instead.
--------------------------------------------------------------------------------
Fix now 150 Call to deprecated method entityManager() of class
Drupal\Core\Controller\ControllerBase. Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Most of the
time static::entityTypeManager() is supposed to be used
instead.
--------------------------------------------------------------------------------
Fix now 168 Call to deprecated method entityManager() of class
Drupal\Core\Controller\ControllerBase. Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Most of the
time static::entityTypeManager() is supposed to be used
instead.
--------------------------------------------------------------------------------
Fix now 171 Call to deprecated function format_date(). Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Use
Drupal::service('date.formatter')->format().
--------------------------------------------------------------------------------
Fix now 191 Call to deprecated method entityManager() of class
Drupal\Core\Controller\ControllerBase. Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Most of the
time static::entityTypeManager() is supposed to be used
instead.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/trance/src/Form/TranceForm.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 73 Parameter $entity_manager of method
Drupal\trance\Form\TranceForm::__construct() has typehint
with deprecated interface
Drupal\Core\Entity\EntityManagerInterface. Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0.
--------------------------------------------------------------------------------
Fix now 87 Call to deprecated method getStorage() of class
Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0
and is removed from drupal:9.0.0. Use
Drupal\Core\Entity\EntityTypeManagerInterface::getStorage()
instead.
--------------------------------------------------------------------------------
Fix now 88 Call to deprecated method getStorage() of class
Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0
and is removed from drupal:9.0.0. Use
Drupal\Core\Entity\EntityTypeManagerInterface::getStorage()
instead.
--------------------------------------------------------------------------------
Ignore 168 Call to deprecated constant REQUEST_TIME: Deprecated in
drupal:8.3.0 and is removed from drupal:10.0.0. Use
Drupal::time()->getRequestTime();
--------------------------------------------------------------------------------
Fix now 187 Call to deprecated function drupal_set_message(). Deprecated
in drupal:8.5.0 and is removed from drupal:9.0.0. Use
Drupal\Core\Messenger\MessengerInterface::addMessage()
instead.
--------------------------------------------------------------------------------
Fix now 193 Call to deprecated function drupal_set_message(). Deprecated
in drupal:8.5.0 and is removed from drupal:9.0.0. Use
Drupal\Core\Messenger\MessengerInterface::addMessage()
instead.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/trance/src/Form/TranceRevisionDeleteForm.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 67 Call to deprecated method getStorage() of class
Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0
and is removed from drupal:9.0.0. Use
Drupal\Core\Entity\EntityTypeManagerInterface::getStorage()
instead.
--------------------------------------------------------------------------------
Fix now 68 Call to deprecated method getStorage() of class
Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0
and is removed from drupal:9.0.0. Use
Drupal\Core\Entity\EntityTypeManagerInterface::getStorage()
instead.
--------------------------------------------------------------------------------
Fix now 86 Call to deprecated function format_date(). Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Use
Drupal::service('date.formatter')->format().
--------------------------------------------------------------------------------
Fix now 131 Call to deprecated function drupal_set_message(). Deprecated
in drupal:8.5.0 and is removed from drupal:9.0.0. Use
Drupal\Core\Messenger\MessengerInterface::addMessage()
instead.
--------------------------------------------------------------------------------
Fix now 132 Call to deprecated function format_date(). Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Use
Drupal::service('date.formatter')->format().
--------------------------------------------------------------------------------

FILE: web/modules/contrib/trance/src/Form/TranceRevisionRevertForm.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 57 Call to deprecated method getStorage() of class
Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0
and is removed from drupal:9.0.0. Use
Drupal\Core\Entity\EntityTypeManagerInterface::getStorage()
instead.
--------------------------------------------------------------------------------
Fix now 132 Call to deprecated function drupal_set_message(). Deprecated
in drupal:8.5.0 and is removed from drupal:9.0.0. Use
Drupal\Core\Messenger\MessengerInterface::addMessage()
instead.
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/trance/src/Form/TranceRevisionRevertTranslationForm.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 51 Call to deprecated method getStorage() of class
Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0
and is removed from drupal:9.0.0. Use
Drupal\Core\Entity\EntityTypeManagerInterface::getStorage()
instead.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/trance/src/Form/TranceTypeDeleteForm.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 43 Call to deprecated function drupal_set_message(). Deprecated
in drupal:8.5.0 and is removed from drupal:9.0.0. Use
Drupal\Core\Messenger\MessengerInterface::addMessage()
instead.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/trance/src/Form/TranceTypeForm.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 79 Call to deprecated function drupal_set_message(). Deprecated
in drupal:8.5.0 and is removed from drupal:9.0.0. Use
Drupal\Core\Messenger\MessengerInterface::addMessage()
instead.
--------------------------------------------------------------------------------
Fix now 86 Call to deprecated function drupal_set_message(). Deprecated
in drupal:8.5.0 and is removed from drupal:9.0.0. Use
Drupal\Core\Messenger\MessengerInterface::addMessage()
instead.
--------------------------------------------------------------------------------
Fix now 93 Call to deprecated method urlInfo() of class
Drupal\Core\Entity\EntityInterface. Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Use
Drupal\Core\Entity\EntityInterface::toUrl() instead.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/trance/src/Tests/TranceOwnerTest.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 12 Class Drupal\trance\Tests\TranceOwnerTest extends deprecated
class Drupal\system\Tests\Entity\EntityUnitTestBase.
Deprecated in drupal:8.1.0 and is removed from drupal:9.0.0.
Use \Drupal\KernelTests\Core\Entity\EntityKernelTestBase
instead.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/trance/src/Tests/TranceTestBase.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 13 Class Drupal\trance\Tests\TranceTestBase extends deprecated
class Drupal\simpletest\WebTestBase. Deprecated 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 → . Replacement available
from drupal:8.6.0.
--------------------------------------------------------------------------------
Fix now 47 Call to method setUp() of deprecated class
Drupal\simpletest\WebTestBase. Deprecated 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 → . Replacement available
from drupal:8.6.0.
--------------------------------------------------------------------------------
Fix now 57 Call to deprecated method entityManager() of class Drupal.
Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
Use Drupal::entityTypeManager() instead in most cases. If
the needed method is not on
\Drupal\Core\Entity\EntityTypeManagerInterface, see the
deprecated \Drupal\Core\Entity\EntityManager to find the
correct interface or service.
--------------------------------------------------------------------------------
Fix now 114 Call to deprecated function format_string(). Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Use
Drupal\Component\Render\FormattableMarkup instead.
--------------------------------------------------------------------------------
Fix now 152 Call to deprecated function entity_create(). Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Use The
method overriding Entity::create() for the entity type, e.g.
\Drupal\node\Entity\Node::create() if the entity type is
known. If the entity type is variable, use the entity
storage's create() method to construct a new entity:
--------------------------------------------------------------------------------
Fix now 183 Call to deprecated function entity_create(). Deprecated in
drupal:8.0.0 and is removed from drupal:9.0.0. Use The
method overriding Entity::create() for the entity type, e.g.
\Drupal\node\Entity\Node::create() if the entity type is
known. If the entity type is variable, use the entity
storage's create() method to construct a new entity:
--------------------------------------------------------------------------------

FILE: web/modules/contrib/trance/src/Tests/TranceTypeTest.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 21 Call to deprecated method entityManager() of class Drupal.
Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
Use Drupal::entityTypeManager() instead in most cases. If
the needed method is not on
\Drupal\Core\Entity\EntityTypeManagerInterface, see the
deprecated \Drupal\Core\Entity\EntityManager to find the
correct interface or service.
--------------------------------------------------------------------------------
Fix now 27 Call to deprecated method entityManager() of class Drupal.
Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
Use Drupal::entityTypeManager() instead in most cases. If
the needed method is not on
\Drupal\Core\Entity\EntityTypeManagerInterface, see the
deprecated \Drupal\Core\Entity\EntityManager to find the
correct interface or service.
--------------------------------------------------------------------------------
Fix now 61 Call to deprecated method entityManager() of class Drupal.
Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
Use Drupal::entityTypeManager() instead in most cases. If
the needed method is not on
\Drupal\Core\Entity\EntityTypeManagerInterface, see the
deprecated \Drupal\Core\Entity\EntityManager to find the
correct interface or service.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/trance/src/Trance.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Check manually 162 Call to deprecated constant NODE_NOT_PUBLISHED: Deprecated
in drupal:8.?.? and is removed from drupal:9.0.0. Use
Drupal\node\NodeInterface::NOT_PUBLISHED instead.
--------------------------------------------------------------------------------
Check manually 162 Call to deprecated constant NODE_PUBLISHED: Deprecated in
drupal:8.?.? and is removed from drupal:9.0.0. Use
Drupal\node\NodeInterface::PUBLISHED instead.
--------------------------------------------------------------------------------
Fix now 288 Call to deprecated method setQueryable() of class
Drupal\Core\Field\BaseFieldDefinition. Deprecated in
drupal:8.4.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\Field\BaseFieldDefinition::setCustomStorage()
instead.
--------------------------------------------------------------------------------
Fix now 294 Call to deprecated method setQueryable() of class
Drupal\Core\Field\BaseFieldDefinition. Deprecated in
drupal:8.4.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\Field\BaseFieldDefinition::setCustomStorage()
instead.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/trance/src/TranceListBuilder.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 17 Usage of deprecated trait
Drupal\Core\Routing\LinkGeneratorTrait in class
Drupal\trance\TranceListBuilder. Deprecated in drupal:8.0.0
and is removed from drupal:9.0.0. Use Drupal\Core\Link
instead.
--------------------------------------------------------------------------------

💬 Support request
Status

Needs review

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom kalpaitch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024