Drush Webform Health

Categories

Component ID

2384795

Component name

Drush Webform Health

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1186

Component created

Component changed

Component body

Check the status of webforms using drush. The module currently supports the following commands:

drush webform-email-check

Check that all of the webforms on a website have email addresses associated with them. This command could be used to check a group of websites in bulk if needed:

#!/bin/sh
for x in $(egrep -l "define.*VERSION.*7." $(find . -name 'bootstrap.inc')); do
    cd "$(dirname "$x")";
    drush wec
    cd - > /dev/null
done;