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

Breadcrumb

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

function ThemeHandlerInterface::rebuildThemeData

Scans and collects theme extension data and their engines.

Return value

\Drupal\Core\Extension\Extension[] An associative array of theme extensions.

Deprecated

in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal::service('extension.list.theme')->reset()->getList() instead.

See also

https://www.drupal.org/node/3413196

\Drupal\Core\Extension\ThemeExtensionList::reset()

\Drupal\Core\Extension\ThemeExtensionList::getList()

1 method overrides ThemeHandlerInterface::rebuildThemeData()
ThemeHandler::rebuildThemeData in core/lib/Drupal/Core/Extension/ThemeHandler.php
Scans and collects theme extension data and their engines.

File

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

Class

ThemeHandlerInterface
Manages the list of available themes.

Namespace

Drupal\Core\Extension

Code

public function rebuildThemeData();

API Navigation

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