FormattableMarkupTest::$lastErrorMessage

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php \Drupal\Tests\Component\Render\FormattableMarkupTest::lastErrorMessage
  2. 10 core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php \Drupal\Tests\Component\Render\FormattableMarkupTest::lastErrorMessage
  3. 11.x core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php \Drupal\Tests\Component\Render\FormattableMarkupTest::lastErrorMessage

The error message of the last error in the error handler.

Type: string

File

core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php, line 24

Class

FormattableMarkupTest
Tests the TranslatableMarkup class.

Namespace

Drupal\Tests\Component\Render

Code

protected $lastErrorMessage;

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