Module Description
INTRODUCTION ------------
The Delete All module allows a user to delete all content and/or users from a site. This is mainly a developer tool, which can come in handy in several cases listed below.
The usual way to do this is to go to Administer > Content then select all the nodes and delete them. This works if you have a handful of nodes only. If you have hundreds or more of nodes, then it is not a practical solution.
Another option is to directly delete the nodes from the node table in the database. This does not work properly, since there are also comments, and many tables for add on modules that need to be cleaned.
This module allows an easy, administrative user-interface solution to these problems.
Note that any nodes, comments, and all additions to nodes that contributed modules may have added will be deleted. For users, any additional module data will also be deleted.
REQUIREMENTS ------------
This module requires no modules outside of the Drupal core.
INSTALLATION ------------
* Install as you would normally install a contributed Drupal module. Visit https://www.drupal.org/docs/8/extending-drupal-8/installing-drupal-8-mod... for further information.
CONFIGURATION -------------
The module has no menu or modifiable settings. There is no configuration. When enabled, the module adds new menu items to Configuration > Development (admin/config/development):
* Batch Delete Content (/admin/content/delete_content) * Batch Delete Account (/admin/people/delete_people)
DRUSH COMMANDS --------------
Alternatively, this module adds drush commands:
* delete-all-delete-content (dadc): deletes all content * delete-all-delete-entities (dade): deletes entities * delete-all-delete-users (dadu): deletes users
NOTES ----------- D7 module still works but is no longer supported. 8.x branch is also no longer maintained.
The Delete All module allows a user to delete all content and/or users from a site. This is mainly a developer tool, which can come in handy in several cases listed below.
The usual way to do this is to go to Administer > Content then select all the nodes and delete them. This works if you have a handful of nodes only. If you have hundreds or more of nodes, then it is not a practical solution.
Another option is to directly delete the nodes from the node table in the database. This does not work properly, since there are also comments, and many tables for add on modules that need to be cleaned.
This module allows an easy, administrative user-interface solution to these problems.
Note that any nodes, comments, and all additions to nodes that contributed modules may have added will be deleted. For users, any additional module data will also be deleted.
REQUIREMENTS ------------
This module requires no modules outside of the Drupal core.
INSTALLATION ------------
* Install as you would normally install a contributed Drupal module. Visit https://www.drupal.org/docs/8/extending-drupal-8/installing-drupal-8-mod... for further information.
CONFIGURATION -------------
The module has no menu or modifiable settings. There is no configuration. When enabled, the module adds new menu items to Configuration > Development (admin/config/development):
* Batch Delete Content (/admin/content/delete_content) * Batch Delete Account (/admin/people/delete_people)
DRUSH COMMANDS --------------
Alternatively, this module adds drush commands:
* delete-all-delete-content (dadc): deletes all content * delete-all-delete-entities (dade): deletes entities * delete-all-delete-users (dadu): deletes users
NOTES ----------- D7 module still works but is no longer supported. 8.x branch is also no longer maintained.
Module Link
Project Usage
5207
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
The Delete All module provides an easy solution for deleting all content and users from a site, avoiding the impracticality of manual deletion or direct database manipulation.
Data Name
delete_all