Webform Killswitch

Component ID

1672824

Component name

Webform Killswitch

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

326

Component created

Component changed

Component body

Shutdown the Webform nodes on a site by redirecting users to an arbitrary apologies page.

How this module works:

The killswitch is operated by a simple enable/disable parameter that can be changed in the settings.

The apologies page is configured in the settings as well and can be any internal or external path.

Use this module If you need to...

  • Migrate a site while it's still running (partial maintenance mode).
  • Disable POSTs during a DDoS event.
  • Allow administering Webforms while preventing new submissions.

Add these to your settings file:

$conf['webform_killswitch_enabled'] = [TRUE/FALSE];
$conf['webform_killswitch_apologies_path'] = [Fully qualified external path or internal path];