You are here

public function DatabaseDriverUninstallValidator::setStringTranslation in Drupal 10

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/ProxyClass/Extension/DatabaseDriverUninstallValidator.php \Drupal\Core\ProxyClass\Extension\DatabaseDriverUninstallValidator::setStringTranslation()

File

core/lib/Drupal/Core/ProxyClass/Extension/DatabaseDriverUninstallValidator.php, line 81

Class

DatabaseDriverUninstallValidator
Provides a proxy class for \Drupal\Core\Extension\DatabaseDriverUninstallValidator.

Namespace

Drupal\Core\ProxyClass\Extension

Code

public function setStringTranslation(\Drupal\Core\StringTranslation\TranslationInterface $translation) {
  return $this
    ->lazyLoadItself()
    ->setStringTranslation($translation);
}