You are here

bulkdelete.module in Bulk Delete 8

Same filename and directory in other branches
  1. 6 bulkdelete.module
  2. 7 bulkdelete.module

Bulkdelete module.

File

bulkdelete.module
View source
<?php

/**
 * @file
 * Bulkdelete module.
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function bulkdelete_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.bulkdelete':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('This module will delete any nodes of a certain node-type
			using the batch api. It is advised to use the Views Batch Operations module (VBO)
			for a small number of nodes. But if you have to delete 10.000 nodes this module
			might be a better option.') . '</p>';
      return $output;
  }
}

Functions

Namesort descending Description
bulkdelete_help Implements hook_help().