You are here

public function RequiredModuleUninstallValidator::setStringTranslation in Drupal 10

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

File

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

Class

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

Namespace

Drupal\Core\ProxyClass\Extension

Code

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