public LocaleTranslation::destruct()
Performs destruct operations.
Overrides DestructableInterface::destruct
File
- core/modules/locale/src/LocaleTranslation.php, line 146
Class
- LocaleTranslation
- String translator using the locale module.
Namespace
Drupal\locale
Code
public function destruct() { foreach ($this->translations as $context) { foreach ($context as $lookup) { if ($lookup instanceof DestructableInterface) { $lookup->destruct(); } } } }
Please login to continue.