protected function WebTestBase::drupalGetSettings

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

2 calls to WebTestBase::drupalGetSettings()
FrameworkTest::testAJAXRender in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/FrameworkTest.php
Ensures ajax_render() returns JavaScript settings from the page request.
FrameworkTest::testLazyLoad in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/FrameworkTest.php
Tests that new JavaScript and CSS files are returned on an Ajax request.

File

drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php, line 2009
Definition of Drupal\simpletest\WebTestBase.

Class

WebTestBase
Test case for typical Drupal tests.

Namespace

Drupal\simpletest

Code

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