You are here

protected function DrupalWebTestCase::drupalGetSettings in Drupal 7

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

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

File

modules/simpletest/drupal_web_test_case.php, line 3139

Class

DrupalWebTestCase
Test case for typical Drupal tests.

Code

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