Maintenance mode API
Categories
Component ID
1430080
Component name
Maintenance mode API
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
7719
Component created
Component changed
Component body
Maintenance mode API notifies other modules when the site is switched into or from maintenance mode.
This means that other modules can respond to this, for example:
- Disabling Nagios alerts whilst the site is in maintenance mode
- Alerting a list of users when the site goes into or out of maintenance mode
- Configuing a reverse proxy to display a static page whilst the site is in maintenance mode
This module provides no UI in itself, and only implements one feature: adding an entry to watchdog when the site is switched to maintenance mode.
This module was created to support the varnish maintenance mode module, but I hope it will find other purposes as time goes on.
