trait AssertHelperTrait in Drupal 8
Same name in this branch
- 8 core/tests/Drupal/Tests/AssertHelperTrait.php \Drupal\Tests\AssertHelperTrait
- 8 core/modules/simpletest/src/AssertHelperTrait.php \Drupal\simpletest\AssertHelperTrait
Provides helper methods for assertions.
Hierarchy
- trait \Drupal\simpletest\AssertHelperTrait uses AssertHelperTrait
Deprecated
in drupal:8.4.0 and is removed from drupal:9.0.0. Use Drupal\Tests\AssertHelperTrait instead.
See also
https://www.drupal.org/node/2884454
File
- core/
modules/ simpletest/ src/ AssertHelperTrait.php, line 17
Namespace
Drupal\simpletestView source
trait AssertHelperTrait {
use BaseAssertHelperTrait;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AssertHelperTrait:: |
protected static | function | Casts MarkupInterface objects into strings. |