public function Batch::__construct in Simple XML sitemap 8.2
Batch constructor.
File
- src/
Batch.php, line 39
Class
- Batch
- Class Batch @package Drupal\simple_sitemap\Batch
Namespace
Drupal\simple_sitemapCode
public function __construct() {
$this->batch = [
'title' => $this
->t(self::BATCH_TITLE),
'init_message' => $this
->t(self::BATCH_INIT_MESSAGE),
'error_message' => $this
->t(self::BATCH_ERROR_MESSAGE),
'progress_message' => $this
->t(self::BATCH_PROGRESS_MESSAGE),
'operations' => [],
'finished' => [
__CLASS__,
'finishGeneration',
],
];
}