function AssertContentTrait::getDrupalSettings
Same name in other branches
- 9 core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::getDrupalSettings()
- 8.9.x core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::getDrupalSettings()
- 10 core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::getDrupalSettings()
Gets the value of drupalSettings for the currently-loaded page.
Variable drupalSettings refers to the drupalSettings JavaScript variable.
File
-
core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php, line 106
Class
- AssertContentTrait
- Provides test methods to assert content.
Namespace
Drupal\KernelTestsCode
protected function getDrupalSettings() {
return $this->drupalSettings;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.