function ThemeHandlerInterface::rebuildThemeData
Same name in other branches
- 9 core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::rebuildThemeData()
- 8.9.x core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::rebuildThemeData()
- 11.x core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\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()
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.