function SettingsTrayTestBase::getTestThemes

File

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

Class

SettingsTrayTestBase
Base class for Settings Tray tests.

Namespace

Drupal\Tests\settings_tray\FunctionalJavascript

Code

protected static 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';
  });
}

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