Problem/Motivation

There are a few deprecated methods shown when checking with "drupal-check" utility:

------ ----------------------------------------------------------------------
Line src/TwigExtension.php
------ ----------------------------------------------------------------------
319 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.
------ ----------------------------------------------------------------------

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

rajeevgole created an issue. See original summary.

gnanagowthaman sankar’s picture

Hi @rajeevgole,

Here by i attached the patch. Please review and let me know for changes.

Thanks & Regards,
Gnanagowthaman sankar

gnanagowthaman sankar’s picture

Status: Active » Needs review
StatusFileSize
new1004 bytes

Patch

Thanks & Regards,
Gnanagowthaman sankar

avpaderno’s picture

Status: Needs review » Closed (outdated)

I am closing this issue, since it is open for an already released version.