function ThemeManager::getThemeEngine

File

core/lib/Drupal/Core/Theme/ThemeManager.php, line 661

Class

ThemeManager
Provides the default implementation of a theme manager.

Namespace

Drupal\Core\Theme

Code

public function getThemeEngine(string $name) : ?ThemeEngineInterface {
  return $this->themeEngines
    ->has($name) ? $this->themeEngines
    ->get($name) : NULL;
}

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