AssertContentTrait::$drupalSettings

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