protected function CKEditorLoadingTest::getThingsToCheck in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php \Drupal\ckeditor\Tests\CKEditorLoadingTest::getThingsToCheck()
1 call to CKEditorLoadingTest::getThingsToCheck()
- CKEditorLoadingTest::testLoading in core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php
- Tests loading of CKEditor CSS, JS and JS settings.
File
- core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php, line 151
- Contains \Drupal\ckeditor\Tests\CKEditorLoadingTest.
Class
- CKEditorLoadingTest
- Tests loading of CKEditor.
Namespace
Drupal\ckeditor\Tests
Code
protected function getThingsToCheck() {
$settings = $this
->getDrupalSettings();
return array(
$settings,
isset($settings['editor']),
isset($settings['ajaxPageState']['libraries']) && in_array('ckeditor/drupal.ckeditor', explode(',', $settings['ajaxPageState']['libraries'])),
$this
->xpath('//textarea[@id="edit-body-0-value"]'),
$this
->xpath('//select[contains(@class, "filter-list")]'),
);
}