function SettingsTrayBlockFormTest::getTestThemes
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';
  });
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
