You are here

public function ThemeGenerator::getInfoYml in AT Tools 8.3

Same name and namespace in other branches
  1. 8.2 at_theme_generator/src/Theme/ThemeGenerator.php \Drupal\at_theme_generator\Theme\ThemeGenerator::getInfoYml()

Return the source themes info yml. We need to parse the source themes info yml because the target copy may not yet exist.

Return value

array

1 call to ThemeGenerator::getInfoYml()
ThemeGenerator::__construct in at_theme_generator/src/Theme/ThemeGenerator.php
Generator constructor.

File

at_theme_generator/src/Theme/ThemeGenerator.php, line 561

Class

ThemeGenerator
Generator form.

Namespace

Drupal\at_theme_generator\Theme

Code

public function getInfoYml() {
  return \Drupal::service('info_parser')
    ->parse($this->source['path'] . '/' . $this->source['name'] . '.info.yml');
}