protected function SettingsTrayBlockFormTest::getTestThemes in Drupal 8
Same name and namespace in other branches
- 9 core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php \Drupal\Tests\settings_tray\FunctionalJavascript\SettingsTrayBlockFormTest::getTestThemes()
Get themes to test.
Return value
string[] Theme names to test.
Overrides SettingsTrayTestBase::getTestThemes
3 calls to SettingsTrayBlockFormTest::getTestThemes()
- SettingsTrayBlockFormTest::getBlockTests in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ SettingsTrayBlockFormTest.php - Creates tests for ::testBlocks().
- SettingsTrayBlockFormTest::testEditModeEnableDisable in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ SettingsTrayBlockFormTest.php - Tests enabling and disabling Edit Mode.
- SettingsTrayBlockFormTest::testValidationMessages in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ SettingsTrayBlockFormTest.php - Test that validation errors appear in the off-canvas dialog.
File
- core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ SettingsTrayBlockFormTest.php, line 289
Class
- SettingsTrayBlockFormTest
- Testing opening and saving block forms in the off-canvas dialog.
Namespace
Drupal\Tests\settings_tray\FunctionalJavascriptCode
protected function getTestThemes() {
// Remove 'seven' theme. Setting Tray "Edit Mode" will not work with 'seven'
// because it removes all contextual links the off-canvas dialog should.
return array_filter(parent::getTestThemes(), function ($theme) {
return $theme !== 'seven';
});
}