public static ConfigurableLanguageManager::rebuildServices()
Rebuild the container to register services needed on multilingual sites.
Overrides ConfigurableLanguageManagerInterface::rebuildServices
File
- core/modules/language/src/ConfigurableLanguageManager.php, line 102
Class
- ConfigurableLanguageManager
- Overrides default LanguageManager to provide configured languages.
Namespace
Drupal\language
Code
public static function rebuildServices() { \Drupal::service('kernel')->invalidateContainer(); }
Please login to continue.