public function OffCanvasTestBase::themeDataProvider in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php \Drupal\Tests\system\FunctionalJavascript\OffCanvasTestBase::themeDataProvider()
 - 9 core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php \Drupal\Tests\system\FunctionalJavascript\OffCanvasTestBase::themeDataProvider()
 
Data provider that returns theme name as the sole argument.
File
- core/
modules/ system/ tests/ src/ FunctionalJavascript/ OffCanvasTestBase.php, line 135  
Class
- OffCanvasTestBase
 - Base class contains common test functionality for the Off-canvas dialog.
 
Namespace
Drupal\Tests\system\FunctionalJavascriptCode
public function themeDataProvider() {
  $themes = $this
    ->getTestThemes();
  $data = [];
  foreach ($themes as $theme) {
    $data[$theme] = [
      $theme,
    ];
  }
  return $data;
}