protected function DrupalWebTestCase::drupalGetSettings

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

3 calls to DrupalWebTestCase::drupalGetSettings()
AJAXFrameworkTestCase::testAJAXRender in drupal/modules/simpletest/tests/ajax.test
Test that ajax_render() returns JavaScript settings generated during the page request.
AJAXFrameworkTestCase::testLazyLoad in drupal/modules/simpletest/tests/ajax.test
Test that new JavaScript and CSS files added during an AJAX request are returned.
DateTimeFunctionalTest::testDateFormatConfiguration in drupal/modules/system/system.test
Test date format configuration.

File

drupal/modules/simpletest/drupal_web_test_case.php, line 2918

Class

DrupalWebTestCase
Test case for typical Drupal tests.

Code

protected function drupalGetSettings() {
  return $this->drupalSettings;
}