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.
If I need totally remove meta tag "Generator" from my site, not to change. Can I do it with metatag module somehow?
Comments
Comment #2
chegor CreditAttribution: chegor as a volunteer commentedComment #3
DamienMcKennaNot really.. but you ought to be able to use hook_page_attachments_alter() to remove individual meta tags that are added by core.
Comment #4
DamienMcKennaBTW you might also like this: #2676164: Remove Generator META tag & X-Generator for Drupal 8 version!
Comment #5
chegor CreditAttribution: chegor as a volunteer commentedThank you for your help. Btw, didn't you think about the advisability of adding this functionality metatag module. I mean the situation, when I can rewrite some metatag but can't remove it, looks a bit strange :)