protected function AssertContentTrait::getDrupalSettings in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/simpletest/src/AssertContentTrait.php \Drupal\simpletest\AssertContentTrait::getDrupalSettings()
Gets the value of drupalSettings for the currently-loaded page.
drupalSettings refers to the drupalSettings JavaScript variable.
15 calls to AssertContentTrait::getDrupalSettings()
- CKEditorLoadingTest::getThingsToCheck in core/
modules/ ckeditor/ src/ Tests/ CKEditorLoadingTest.php - CommentCSSTest::testCommentClasses in core/
modules/ comment/ src/ Tests/ CommentCSSTest.php - Tests CSS classes on comments.
- CommentNewIndicatorTest::testCommentNewCommentsIndicator in core/
modules/ comment/ src/ Tests/ CommentNewIndicatorTest.php - Tests new comment marker.
- EditorLoadingTest::getThingsToCheck in core/
modules/ editor/ src/ Tests/ EditorLoadingTest.php - FrameworkTest::testLazyLoad in core/
modules/ system/ src/ Tests/ Ajax/ FrameworkTest.php - Tests that new JavaScript and CSS files are lazy-loaded on an AJAX request.
File
- core/
modules/ simpletest/ src/ AssertContentTrait.php, line 109 - Contains \Drupal\simpletest\AssertContentTrait.
Class
- AssertContentTrait
- Provides test methods to assert content.
Namespace
Drupal\simpletestCode
protected function getDrupalSettings() {
return $this->drupalSettings;
}