Skip to main content
7 of 7
removed "Drupal" from the title
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

How can a module detect when the "access denied" page is output?

How is it possible for a module to detect when Drupal is outputting the "access denied" page?
I know how to do it with Drupal 6; I need to know how to do it with Drupal 7.

avpaderno
  • 97.9k
  • 15
  • 164
  • 284