You are here

public function ThemeHandlerInterface::addTheme in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::addTheme()

Adds a theme extension to the internal listing.

Parameters

\Drupal\Core\Extension\Extension $theme: The theme extension.

1 method overrides ThemeHandlerInterface::addTheme()
ThemeHandler::addTheme in core/lib/Drupal/Core/Extension/ThemeHandler.php
Adds a theme extension to the internal listing.

File

core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php, line 107
Contains \Drupal\Core\Extension\ThemeHandlerInterface.

Class

ThemeHandlerInterface
Manages the list of available themes.

Namespace

Drupal\Core\Extension

Code

public function addTheme(Extension $theme);