Hello,

a Drupal 8 version of this Module would be nice ...

Thanks and regards
SB

Comments

sachbearbeiter created an issue. See original summary.

chi’s picture

Category: Feature request » Task
Status: Active » Needs review
StatusFileSize
new1.41 KB
new43.77 KB

That's simple enough.

sachbearbeiter’s picture

Thanks a lot ...
I don't know if this is caused by the Metatag Module (but nothing configured related to the generator tag), but i still see in the head:

<meta name="Generator" content="Drupal 8 (https://www.drupal.org)" />

after installation of your version?

Regards
SB

chi’s picture

@sachbearbeiter, have no idea. The module is just one hook. You can try to debug it yourself.

chi’s picture

StatusFileSize
new1.41 KB
new43.77 KB

@sachbearbeiter, you are right, there was a mistake in previous patch. Please try this one.

sachbearbeiter’s picture

Tested and 3, 2, 1 -> no generator tag anymore ;)

Thanks a lot ...

Regards
SB

VikrantR’s picture

Category: Task » Support request

Hi Sachbearbeiter,

Extension to this, We can add "Hide X-Generator" for Drupal 8 Version.

See @ https://github.com/vikrantrc/Remove-X-Generator

Thanks,
Vikrant

VikrantR’s picture

Status: Needs review » Reviewed & tested by the community

Drupal 8 version of this patch works well for me.

Thanks,
Vikrant

VikrantR’s picture

Title: Remove Generator META tag - Drupal 8 version? » Remove Generator META tag & X-Generator for Drupal 8 version?
Category: Support request » Feature request
Status: Reviewed & tested by the community » Needs review
StatusFileSize
new2.47 KB

Extension to this, added "Hide X-Generator" for Drupal 8 Version.

VikrantR’s picture

Title: Remove Generator META tag & X-Generator for Drupal 8 version? » Remove Generator META tag & X-Generator for Drupal 8 version!
cybermache’s picture

Is there any reason we are not adding this hook to our [YOURTHEMENAME].theme file? Since it's just one hook with no UI.

devoleksiy’s picture

How to remove X-Drupal-Cache: HIT ?

Chris7419’s picture

Hi,

if you put site into maintenance mode, the Generator is visible.

Anonymous’s picture

Why doesn't it work if I set the server headers -> Header unset "X-Powered-By" or expose_php = off

markdorison’s picture

Status: Needs review » Closed (outdated)
Related issues: +#3371132: Drupal 9/10 Support