BatchBuilder::$errorMessage

Same name in other branches
  1. 9 core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::errorMessage
  2. 10 core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::errorMessage
  3. 11.x core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::errorMessage

The message to be shown if a problem occurs.

Type: string|\Drupal\Core\StringTranslation\TranslatableMarkup

File

core/lib/Drupal/Core/Batch/BatchBuilder.php, line 61

Class

BatchBuilder
Builds an array for a batch process.

Namespace

Drupal\Core\Batch

Code

protected $errorMessage;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.