bulkdelete.module 652 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * @file
  4. * Bulkdelete module.
  5. */
  6. use Drupal\Core\Routing\RouteMatchInterface;
  7. /**
  8. * Implements hook_help().
  9. */
  10. function bulkdelete_help($route_name, RouteMatchInterface $route_match) {
  11. switch ($route_name) {
  12. case 'help.page.bulkdelete':
  13. $output = '';
  14. $output .= '<h3>' . t('About') . '</h3>';
  15. $output .= '<p>' . t('This module will delete any nodes of a certain node-type
  16. using the batch api. It is advised to use the Views Batch Operations module (VBO)
  17. for a small number of nodes. But if you have to delete 10.000 nodes this module
  18. might be a better option.') . '</p>';
  19. return $output;
  20. }
  21. }