function OffCanvasTestBase::getTestThemes

Same name in other branches
  1. 9 core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php \Drupal\Tests\system\FunctionalJavascript\OffCanvasTestBase::getTestThemes()
  2. 8.9.x core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php \Drupal\Tests\system\FunctionalJavascript\OffCanvasTestBase::getTestThemes()
  3. 11.x 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
Data provider 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 110

Class

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

Namespace

Drupal\Tests\system\FunctionalJavascript

Code

protected static function getTestThemes() {
    return [
        'claro',
        'olivero',
        'stable9',
        'stark',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.