public function ThemeGenerator::rewriteLibrariesYml in AT Tool 2.0 1.0.x
Rewrite library versions in [theme_name].libraries.yml.
Parameters
$needle:
1 call to ThemeGenerator::rewriteLibrariesYml()
- ThemeGeneratorTypes::starterkitGenerator in at_theme_generator/
src/ Theme/ ThemeGeneratorTypes.php - Generate starter kit type theme.
File
- at_theme_generator/
src/ Theme/ ThemeGenerator.php, line 161
Class
- ThemeGenerator
- Generator form.
Namespace
Drupal\at_theme_generator\ThemeCode
public function rewriteLibrariesYml($needle) {
$this->fileOperations
->fileStrReplace($this->target . '/' . $this->machine_name . '.libraries.yml', $needle, $this->version);
}