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

Breadcrumb

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

interface StarterKitInterface

Allows starter kits to interact with theme generation.

Hierarchy

  • interface \Drupal\Core\Theme\StarterKitInterface

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

Title Sort descending Modifiers Object type Summary Overrides
StarterKitInterface::postProcess public static function Performs post-processing of a generated theme. 1

API Navigation

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