AssertContentTrait::$elements

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