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

Breadcrumb

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

function ThemeInitializationInterface::loadActiveTheme

Loads a theme, so it is ready to be used.

Loading a theme includes loading and initializing the engine, each base theme and its engines.

Parameters

\Drupal\Core\Theme\ActiveTheme $active_theme: The theme to load.

1 method overrides ThemeInitializationInterface::loadActiveTheme()
ThemeInitialization::loadActiveTheme in core/lib/Drupal/Core/Theme/ThemeInitialization.php
Loads a theme, so it is ready to be used.

File

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

Class

ThemeInitializationInterface
Defines an interface which contain theme initialization logic.

Namespace

Drupal\Core\Theme

Code

public function loadActiveTheme(ActiveTheme $active_theme);
RSS feed
Powered by Drupal