protected function WebTestBase::drupalSetSettings

Sets the value of the Drupal.settings JavaScript variable for the currently loaded page.

1 call to WebTestBase::drupalSetSettings()
WebTestBase::drupalPostAJAX in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Execute an Ajax submission.

File

drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php, line 2060
Definition of Drupal\simpletest\WebTestBase.

Class

WebTestBase
Test case for typical Drupal tests.

Namespace

Drupal\simpletest

Code

protected function drupalSetSettings($settings) {
  $this->drupalSettings = $settings;
}