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\ExtensionCode
public function rebuildThemeData();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.