Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Delete all

Security covered Under active development 2,572 sites

This module provides an administrative interface and Drush commands to easily delete all content and/or users from a Drupal site. It handles the removal of content, comments, and associated data from contributed modules, and also cleans up user data.

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.

Drupal 9–10 · not 11 PHP >=5.6.0

Ask your assistant about Delete all

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Aug 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
3.0.0 Stable 9–10 PHP >=5.6.0 Aug 7, 2023