protected function AssertContentTrait::setDrupalSettings in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/simpletest/src/AssertContentTrait.php \Drupal\simpletest\AssertContentTrait::setDrupalSettings()
Sets the value of drupalSettings for the currently-loaded page.
drupalSettings refers to the drupalSettings JavaScript variable.
1 call to AssertContentTrait::setDrupalSettings()
- WebTestBase::drupalProcessAjaxResponse in core/
modules/ simpletest/ src/ WebTestBase.php - Processes an AJAX response into current content.
File
- core/
modules/ simpletest/ src/ AssertContentTrait.php, line 118 - Contains \Drupal\simpletest\AssertContentTrait.
Class
- AssertContentTrait
- Provides test methods to assert content.
Namespace
Drupal\simpletestCode
protected function setDrupalSettings($settings) {
$this->drupalSettings = $settings;
}