You are here

interface StarterKitInterface in Drupal 10

Allows starter kits to interact with theme generation.

Hierarchy

Expanded class hierarchy of StarterKitInterface

All classes that implement StarterKitInterface

2 files declare their use of StarterKitInterface
GenerateTheme.php in core/lib/Drupal/Core/Command/GenerateTheme.php
StarterKit.php in core/themes/starterkit_theme/src/StarterKit.php

File

core/lib/Drupal/Core/Theme/StarterKitInterface.php, line 8

Namespace

Drupal\Core\Theme
View source
interface StarterKitInterface {

  /**
   * Performs post-processing of a generated theme.
   *
   * @param string $working_dir
   *   The working directory of the template being generated.
   * @param string $machine_name
   *   The theme's machine name.
   * @param string $theme_name
   *   The theme's name.
   */
  public static function postProcess(string $working_dir, string $machine_name, string $theme_name) : void;

}

Members