function StarterKit::postProcess
Performs post-processing of a generated theme.
Parameters
string $working_dir: The working directory of the template being generated.
string $machine_name: The theme's machine name.
string $theme_name: The theme's name.
Overrides StarterKitInterface::postProcess
File
- 
              core/themes/ starterkit_theme/ src/ StarterKit.php, line 12 
Class
Namespace
Drupal\starterkit_themeCode
public static function postProcess(string $working_dir, string $machine_name, string $theme_name) : void {
  $readme_file = "{$working_dir}/README.md";
  try {
    file_put_contents($readme_file, "{$theme_name} theme, generated from starterkit_theme. Additional information on generating themes can be found in the [Starterkit documentation](https://www.drupal.org/docs/core-modules-and-themes/core-themes/starterkit-theme).");
  } catch (\Throwable $th) {
  }
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
