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.
Comment | File | Size | Author |
---|---|---|---|
#9 | 3038238.png | 274.41 KB | thalles |
#7 | replace-deprecated-method-drupal_set_message-3038238-2.patch | 5.68 KB | maliknaik |
| |||
#2 | Replace-deprecated-method-drupal-set-message-3038238-2.patch | 5.42 KB | Maithri Shetty |
|
Comments
Comment #2
Maithri Shetty CreditAttribution: Maithri Shetty at Specbee commentedReplaced deprecated method drupal-set-message() calls with \Drupal::messenger()->addMessage()
Comment #3
Maithri Shetty CreditAttribution: Maithri Shetty at Specbee commentedComment #4
maliknaik CreditAttribution: maliknaik as a volunteer and at Google Summer of Code commentedUsed
MessengerTraits
insted of\Drupal::messenger()->addMessage()
.Comment #6
maliknaik CreditAttribution: maliknaik as a volunteer and at Google Summer of Code commentedComment #7
maliknaik CreditAttribution: maliknaik as a volunteer and at Google Summer of Code commentedUsed
MessengerTrait
and also used the methodmessenger()
defined in the base class of theConfigFormBase
,FormBase
,EntityConfirmFormBase
, andEntityForm
Comment #8
maliknaik CreditAttribution: maliknaik as a volunteer and at Google Summer of Code commentedComment #9
thallesWorks for me!
Comment #10
wundo CreditAttribution: wundo at Chuva Inc. for Chuva Inc. commentedThis was fixed as part of #3042586, thanks :)
Comment #11
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commented