AssertContentTrait::$drupalSettings

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

The drupalSettings value from the current raw $content.

Variable drupalSettings refers to the drupalSettings JavaScript variable.

Type: array

File

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

Class

AssertContentTrait
Provides test methods to assert content.

Namespace

Drupal\KernelTests

Code

protected $drupalSettings;

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