ThemeInitializationInterface::initTheme

public ThemeInitializationInterface::initTheme($theme_name)

Initializes a given theme.

This loads the active theme, for example include its engine file.

Parameters

string $theme_name: The machine name of the theme.

Return value

\Drupal\Core\Theme\ActiveTheme An active theme object instance for the given theme.

File

core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php, line 22

Class

ThemeInitializationInterface
Defines an interface which contain theme initialization logic.

Namespace

Drupal\Core\Theme

Code

1
public function initTheme($theme_name);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.