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

Breadcrumb

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

function ThemeHandler::getDefault

Overrides ThemeHandlerInterface::getDefault

File

core/lib/Drupal/Core/Extension/ThemeHandler.php, line 60

Class

ThemeHandler
Default theme handler using the config system to store installation statuses.

Namespace

Drupal\Core\Extension

Code

public function getDefault() {
    return $this->configFactory
        ->get('system.theme')
        ->get('default');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal