public function ThemeGenerator::removeConfigFiles in AT Tools 8.2
Same name and namespace in other branches
- 8.3 at_theme_generator/src/Theme/ThemeGenerator.php \Drupal\at_theme_generator\Theme\ThemeGenerator::removeConfigFiles()
Remove config files.
1 call to ThemeGenerator::removeConfigFiles()
- ThemeGeneratorTypes::starterkitGenerator in at_theme_generator/
src/ Theme/ ThemeGeneratorTypes.php - Generate starter kit type theme.
File
- at_theme_generator/
src/ Theme/ ThemeGenerator.php, line 304
Class
- ThemeGenerator
- Generator form.
Namespace
Drupal\at_theme_generator\ThemeCode
public function removeConfigFiles() {
$dir = $this->target . '/config/optional';
if (is_dir($dir)) {
$this->directoryOperations
->directoryRemove($this->target . '/config/optional');
}
}