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

Breadcrumb

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

function ActiveTheme::getBaseThemeExtensions

Returns an array of base theme extension objects keyed by name.

The order starts with the base theme of $this and ends with the root of the dependency chain. For most use cases, parent themes are expected to be called first, so this order needs to be reversed with array_reverse()

Return value

\Drupal\Core\Extension\Extension[]

File

core/lib/Drupal/Core/Theme/ActiveTheme.php, line 191

Class

ActiveTheme
Defines a theme and its information needed at runtime.

Namespace

Drupal\Core\Theme

Code

public function getBaseThemeExtensions() {
    return $this->baseThemeExtensions;
}

API Navigation

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