public function ThemeHandler::rebuildThemeData in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Extension/ThemeHandler.php \Drupal\Core\Extension\ThemeHandler::rebuildThemeData()
- 9 core/lib/Drupal/Core/Extension/ThemeHandler.php \Drupal\Core\Extension\ThemeHandler::rebuildThemeData()
Scans and collects theme extension data and their engines.
Return value
\Drupal\Core\Extension\Extension[] An associative array of theme extensions.
Overrides ThemeHandlerInterface::rebuildThemeData
File
- core/
lib/ Drupal/ Core/ Extension/ ThemeHandler.php, line 127
Class
- ThemeHandler
- Default theme handler using the config system to store installation statuses.
Namespace
Drupal\Core\ExtensionCode
public function rebuildThemeData() {
return $this->themeList
->reset()
->getList();
}