protected function DrupalWebTestCase::drupalSetSettings

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

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

Archivo

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

Class

DrupalWebTestCase
Test case for typical Drupal tests.

Código

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