- Introduction
- Requirements
- Maintainers
Webform Purge extended functionality for Drupal 8/9.
Drupal core 8.8
or up.
- Install the Webform Purge module as you would normally install a contributed Drupal module. Visit Installing Drupal 8 Modules for further information.
- Alternatively you can include the module as a repository in your
composer.json
file:
"repositories": [
{
"type":"package",
"package": {
"name": "drupal/webform_purge",
"version": "2.0.0-beta1",
"type": "drupal-module",
"source": {
"type": "git",
"url": "https://github.com/baikho/drupal-webform_purge.git",
"reference": "8af591aa1f099546b5995812280846e67eb80de0"
}
}
}
]
See Webform Purge for the Drupal 7 variant of this module.
The 2.x
release of this module exposes an extra drush command in addition to the purge functionality provided by the Webform module. It exposes a purge command that respects the retain of x days similar as with the cron runs.
$ drush webform-purge:purge <webform_id> --purge-type=<all|draft|completed> --purge-days=<30>
- Sang Lostrie (baikho) - https://www.drupal.org/u/baikho
- Access - Development and maintenance