You are here

protected function DrupalWebTestCase::drupalSetSettings in SimpleTest 7.2

Same name and namespace in other branches
  1. 6.2 drupal_web_test_case.php \DrupalWebTestCase::drupalSetSettings()

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

1 call to DrupalWebTestCase::drupalSetSettings()
DrupalWebTestCase::drupalPostAJAX in ./drupal_web_test_case.php
Execute an Ajax submission.

File

./drupal_web_test_case.php, line 2693
Provides DrupalTestCase, DrupalUnitTestCase, and DrupalWebTestCase classes.

Class

DrupalWebTestCase
Test case for typical Drupal tests.

Code

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