# Summary
This module is used 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.
# Project URL
https://www.drupal.org/project/delete_all
# Where is the code?
https://www.drupal.org/project/delete_all/releases/8.x-1.0
https://www.drupal.org/sandbox/dipakmdhrm/2708409
# Estimated completion date
31st May 2016
# Dependencies
NA
# Who's doing the port?
https://www.drupal.org/u/dipakmdhrm
# What help do they need?
- Need maintainer access to actively release new versions.
- Need help with creating automated tests.
# D8 roadmap
Proposal for Drupal 8 version:
- Separate the logic (in delete_all) & presentation(in delete_all_ui)
- Use Batch API.
- New commands:
- delete-all-delete-user (dadu)
- delete-all-delete-content (dadc)
Implementation:
- DeleteControllerBase as controller base for all the delete controllers.
- UserDeleteController extends DeleteControllerBase for User deletion.
- ContentDeleteController extends DeleteControllerBase for Content deletion.
Status:
Completed:
User Delete functionality is completed.
Remaining:
- Content deletion.
- Automated tests.
- ui module.
# Background and reference information
Unknown
Comments
Comment #2
dipakmdhrm commentedThis is going to be my first module port for D8.. Yay!
Comment #3
dipakmdhrm commentedComment #4
gaurav.goyal commentedHey,
Have you started work on this? I'd like to help you with the port, let me know if I can be of some help.
Comment #5
Hammad Ghani commentedHello Khalid Baheyeldin (kbahey),
We , "The Drupal Geeks" https://www.drupal.org/drupal-geeks , a subsidiary of Ameex Technologies http://www.ameexusa.com/ are planning to run a codesprint- module porting to D8 in the early weeks of May. From our initial analysis , we see that the module Delete All 'https://www.drupal.org/project/delete_all' is widely used in Drupal websites . Porting the module to D8 is the need of the hour and we would be happy to do the same as a part of the sprint. I will be taking ownership for the module and keeping you posted about it. Just wanted to know if anyone already started on this, is it on github?
Thanks
Hammad
Comment #6
dipakmdhrm commented@Hammad Ghani + @gaurav.goyal
I have started the port on this.
Following the instructions provided here I've created a sandbox project where the code will reside.
I haven't pushed the code yet on repository as I haven't committed the most of it. I'll be doing it today and push the code by the end of the day.
Porting is not complete yet and I would be glad if you guys can help.
Comment #7
dipakmdhrm commentedComment #8
Hammad Ghani commentedHi Dipakmdhrm,
I am looking forward to work with you on porting this project to Drupal8, I have also started analysis work on porting Delete All module to Drupal 8, once i complete it i will share my code so that we can easily port this module to Drupal 8, Let me know if you need any help from me.
Thanks,
Hammad
Comment #9
dipakmdhrm commentedComment #10
kbahey commented@dipakmdhrm
You are the first person to provide code for the D8 port, and you have been assigned as a maintainer.
Please make sure that the code remains SIMPLE and therefore MAINTAINABLE. Resist the urge to overcomplicate things. Do not add unnecessary features. Be a responsible maintainer.
Comment #11
kbahey commentedDipak,
What is the status of your code? There is a -dev release, but no stable release for two weeks.
Hamad Ghani contacted me that he has working code.
I don't want to have two developers working separately, competing against each other for who gets the port out first ...etc. Both of you have to coordinate with each other, and work together, not separately.
Find a way to work together please.
Comment #12
mustanggb commentedComment #13
jacov commentedHi, any progress on this?
i hear people shouting: "we want 'delete_all', we want 'delete_all', we want 'delete_all' "
;-)
thanks so much for this great effort, rewards in the world to come. G-D bless.
Comment #14
manuel.adanThere is an alpha release, updating the issue status.
Comment #15
manuel.adanComment #16
dipakmdhrm commentedComment #17
mmjvb commentedSee https://www.drupal.org/project/delete_all/releases/8.x-1.0
Comment #19
avpadernoI am giving credit to the users who participated in this issue.