You are here

public function SpambotUserspamForm::finishedUnpublishEntities in Spambot 8

Finished callback for unpublish entities batch.

File

src/Form/SpambotUserspamForm.php, line 770

Class

SpambotUserspamForm
Settings form to save the configuration for Spambot.

Namespace

Drupal\spambot\Form

Code

public function finishedUnpublishEntities() {
  $message = $this
    ->t('Objects have been retired.');
  $this
    ->messenger()
    ->addStatus($message);
}