AssertContentTrait::$elements
Same name in other branches
- 8.9.x core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::elements
- 10 core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::elements
- 11.x core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::elements
The XML structure parsed from the current raw $content.
Type: \SimpleXMLElement
File
-
core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php, line 45
Class
- AssertContentTrait
- Provides test methods to assert content.
Namespace
Drupal\KernelTestsCode
protected $elements;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.