function simple_sitemap_drush_command in Simple XML sitemap 8.2
Same name and namespace in other branches
- 8.3 simple_sitemap.drush.inc \simple_sitemap_drush_command()
- 4.x simple_sitemap.drush.inc \simple_sitemap_drush_command()
Implements hook_drush_command().
File
- ./
simple_sitemap.drush.inc, line 11 - Drush (< 9) integration.
Code
function simple_sitemap_drush_command() {
$items['simple_sitemap-generate'] = [
'description' => 'Regenerate the XML sitemap according to the module settings.',
'callback' => 'drush_simple_sitemap_generate',
'drupal dependencies' => [
'simple_sitemap',
],
];
return $items;
}