function GenerateThemeTest::deleteGeneratedTheme

Same name and namespace in other branches
  1. main core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php \Drupal\BuildTests\Command\GenerateThemeTest::deleteGeneratedTheme()

Delete the generated theme.

2 calls to GenerateThemeTest::deleteGeneratedTheme()
GenerateThemeTest::doTestGeneratingFromAnotherTheme in core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
Tests generating a theme from another Starterkit enabled theme.
GenerateThemeTest::testGenerateTheme in core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
Tests the generate-theme command.

File

core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php, line 206

Class

GenerateThemeTest
Tests the generate-theme commands.

Namespace

Drupal\BuildTests\Command

Code

protected function deleteGeneratedTheme(string $theme_name) : void {
  $this->fileUnmanagedDeleteRecursive('themes/' . $theme_name);
}

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