interface StarterKitInterface
Same name in other branches
- 9 core/lib/Drupal/Core/Theme/StarterKitInterface.php \Drupal\Core\Theme\StarterKitInterface
- 11.x core/lib/Drupal/Core/Theme/StarterKitInterface.php \Drupal\Core\Theme\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\ThemeView 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 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.