function LocaleTranslation::destruct
Performs destruct operations.
Overrides DestructableInterface::destruct
File
-
core/
modules/ locale/ src/ LocaleTranslation.php, line 154
Class
- LocaleTranslation
- String translator using the locale module.
Namespace
Drupal\localeCode
public function destruct() {
foreach ($this->translations as $context) {
foreach ($context as $lookup) {
if ($lookup instanceof DestructableInterface) {
$lookup->destruct();
}
}
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.