You are here

protected function OffCanvasTestBase::getTestThemes in Drupal 8

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

Get themes to test.

Return value

string[] Theme names to test.

3 calls to OffCanvasTestBase::getTestThemes()
OffCanvasTest::testNarrowWidth in core/modules/system/tests/src/FunctionalJavascript/OffCanvasTest.php
Tests the body displacement behaves differently at a narrow width.
OffCanvasTestBase::themeDataProvider in core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php
Dataprovider that returns theme name as the sole argument.
SettingsTrayTestBase::getTestThemes in core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php
Get themes to test.
1 method overrides OffCanvasTestBase::getTestThemes()
SettingsTrayTestBase::getTestThemes in core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php
Get themes to test.

File

core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php, line 120

Class

OffCanvasTestBase
Base class contains common test functionality for the Off-canvas dialog.

Namespace

Drupal\Tests\system\FunctionalJavascript

Code

protected function getTestThemes() {
  return [
    'bartik',
    'stark',
    'classy',
    'stable',
    'seven',
  ];
}