AssertContentTrait::$elements

Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::elements
  2. 10 core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::elements
  3. 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\KernelTests

Code

protected $elements;

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