Skip to main content
6 of 7
edited tags
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

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

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 or higher version.

avpaderno
  • 97.9k
  • 15
  • 164
  • 284