function ThemeHandlerInterface::addTheme

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::addTheme()
  2. 8.9.x core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::addTheme()
  3. 11.x 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.

File

core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php, line 57

Class

ThemeHandlerInterface
Manages the list of available themes.

Namespace

Drupal\Core\Extension

Code

public function addTheme(Extension $theme);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.