The hook_preprocess_html() does not work in modules, it's a theme hook. In drupal 7.51 this hook isn't called if it is in a module, not in a theme! (and possibly from the older versions too)

Comments

golddragon007 created an issue. See original summary.

golddragon007’s picture

Well, if you don't turn on the module... it won't... such a supprise.

golddragon007’s picture

Status: Active » Closed (won't fix)
DamienMcKenna’s picture

I'm glad it was something small, I was in quite a confused state for just a moment. :) Thanks for taking the time to open the issue.