You are here

function drush_drush_delete_delete_all in Drush Delete All 8.2

Call back function drush_custom_drush_command_say_hello() The call back function name in the following format drush_{module_name}_{item_id_for_command}()

File

./drush_delete.drush.inc, line 43
Contains the code to generate the custom drush commands.

Code

function drush_drush_delete_delete_all($type = '') {
  $service = \Drupal::service('drush_delete.entity');
  drush_print($service
    ->deleteAllEntityType($type));
}