25 lines
652 B
Plaintext
25 lines
652 B
Plaintext
<?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;
|
|
}
|
|
}
|