@@ -118,8 +118,14 @@ function _system_default_theme_features() {
*
* This function should be called when modules are added to the system, or when
* a dynamic system needs to add more theme hooks.
*
* @deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use
* theme.registry service reset() method instead.
*
* @see https://www.drupal.org/node/3348853
*/
functiondrupal_theme_rebuild(){
@trigger_error(__FUNCTION__.'() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use theme.registry service reset() method instead. See https://www.drupal.org/node/3348853',E_USER_DEPRECATED);