public function ThemeGenerator::copySource 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::copySource()
Copy the source theme to the target location.
3 calls to ThemeGenerator::copySource()
- ThemeGeneratorTypes::cloneGenerator in at_theme_generator/
src/ Theme/ ThemeGeneratorTypes.php - Generate clone type theme.
- ThemeGeneratorTypes::skinGenerator in at_theme_generator/
src/ Theme/ ThemeGeneratorTypes.php - Generate skin type theme.
- ThemeGeneratorTypes::starterkitGenerator in at_theme_generator/
src/ Theme/ ThemeGeneratorTypes.php - Generate starter kit type theme.
File
- at_theme_generator/
src/ Theme/ ThemeGenerator.php, line 131
Class
- ThemeGenerator
- Generator form.
Namespace
Drupal\at_theme_generator\ThemeCode
public function copySource() {
if (is_dir($this->source['path'])) {
$this->directoryOperations
->directoryRecursiveCopy($this->source['path'], $this->target);
}
}