AssertContentTrait::$plainTextContent

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::plainTextContent
  2. 10 core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::plainTextContent
  3. 11.x core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::plainTextContent

The plain-text content of raw $content (text nodes).

Type: string

File

core/tests/Drupal/KernelTests/AssertContentTrait.php, line 30

Class

AssertContentTrait
Provides test methods to assert content.

Namespace

Drupal\KernelTests

Code

protected $plainTextContent;

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