protected function DrupalWebTestCase::drupalSetSettings

7.x drupal_web_test_case.php protected DrupalWebTestCase::drupalSetSettings($settings)

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

1 call to DrupalWebTestCase::drupalSetSettings()
DrupalWebTestCase::drupalPostAJAX in drupal-7.x/modules/simpletest/drupal_web_test_case.php
Execute an Ajax submission.

File

drupal-7.x/modules/simpletest/drupal_web_test_case.php, line 2884

Class

DrupalWebTestCase
Test case for typical Drupal tests.

Code

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