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.
On the metatag admin page, the following message is shown at all times.
Please note that while the site is in maintenance mode none of the usual meta tags will be output.
Should this only be shown when the site is in maintenance mode?
Also, these messages are shown using the depreciated drupal_set_message function.
(Can be replaced with \Drupal::messenger()->addMessage)
Comment | File | Size | Author |
---|---|---|---|
#2 | metatag-3105343-2.patch | 1.54 KB | Kionn |
|
Comments
Comment #2
Kionn CreditAttribution: Kionn as a volunteer commentedHere is a patch that checks if the site is in maintenance mode, and also updates the depreciated functions.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous at Agiledrop - Your Trusted Drupal Teammates commentedHello,
Thanks for the patch. I was about to upload my own patch when I noticed the issue was updated. So instead of uploading mine I reviewed yours. The patch works as expected.
Thanks and kind regards, Denis
Comment #4
DamienMcKennaComment #5
DamienMcKennaComment #7
DamienMcKennaCommitted. Thank you.