You are here

protected function SettingsTrayTestBase::getTestThemes in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php \Drupal\Tests\settings_tray\FunctionalJavascript\SettingsTrayTestBase::getTestThemes()
  2. 9 core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php \Drupal\Tests\settings_tray\FunctionalJavascript\SettingsTrayTestBase::getTestThemes()

File

core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php, line 158

Class

SettingsTrayTestBase
Base class for Settings Tray tests.

Namespace

Drupal\Tests\settings_tray\FunctionalJavascript

Code

protected function getTestThemes() {

  // Remove 'claro' theme. Settings Tray "Edit Mode" will not work with this
  // theme because it removes all contextual links.
  return array_filter(parent::getTestThemes(), function ($theme) {
    return $theme !== 'claro';
  });
}