Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. StarterKit.php

function StarterKit::postProcess

Overrides StarterKitInterface::postProcess

File

core/themes/starterkit_theme/src/StarterKit.php, line 12

Class

StarterKit

Namespace

Drupal\starterkit_theme

Code

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) {
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal