Commit 069777ac authored by webchick's avatar webchick

Issue #2452637 by a_thakur: Remove function system_rebuild_theme_data() from system.module

parent d4036704
......@@ -1006,19 +1006,6 @@ function system_rebuild_module_data() {
return $modules_cache;
}
/**
* Rebuild, save, and return data about all currently available themes.
*
* @return \Drupal\Core\Extension\Extension[]
* Array of all available themes and their data.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use \Drupal::service('theme_handler')->rebuildThemeData().
*/
function system_rebuild_theme_data() {
return \Drupal::service('theme_handler')->rebuildThemeData();
}
/**
* Returns an array of default theme features.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment