You are here

public function SanitizerForm::batchSanitizeAllNodesStart in Layout Builder Block Sanitizer 8

Kick off batch process to sanitize all nodes on site.

File

src/Form/SanitizerForm.php, line 106

Class

SanitizerForm
Class SanitizerForm.

Namespace

Drupal\layout_builder_block_sanitizer\Form

Code

public function batchSanitizeAllNodesStart(array &$form, FormStateInterface $form_state) {
  $this->layoutBuilderBlockSanitizerBatch
    ->batchSanitizeAllNodesStart();
}