Drupal 9 Deprecated Code Report

Created on 22 August 2019, over 5 years ago
Updated 23 May 2023, almost 2 years ago

43/43 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

------ ----------------------------------------------------------------------
Line src/Controller/EntityLegalController.php
------ ----------------------------------------------------------------------
86 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------

------ ---------------------------------------------------------------
Line src/Entity/EntityLegalDocument.php
------ ---------------------------------------------------------------
310 Call to deprecated function entity_get_form_display():
as of Drupal 8.0.x, will be removed before Drupal 9.0.0.
If the entity form display is available in configuration use:
317 Call to deprecated function entity_get_display():
as of Drupal 8.0.x, will be removed before Drupal 9.0.0.
If the display is available in configuration use:
------ ---------------------------------------------------------------

------ ----------------------------------------------------------------------
Line src/Form/EntityLegalDocumentForm.php
------ ----------------------------------------------------------------------
118 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------

------ ----------------------------------------------------------------------
Line src/Plugin/EntityLegal/Message.php
------ ----------------------------------------------------------------------
31 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------

------ -------------------------------------------------------
Line src/Tests/EntityLegalMethodsTest.php
------ -------------------------------------------------------
26 Call to deprecated function format_string():
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Use \Drupal\Component\Render\FormattableMarkup.
51 Call to deprecated function format_string():
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Use \Drupal\Component\Render\FormattableMarkup.
------ -------------------------------------------------------

🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇮🇳India joy29

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.71.5 2024