function RequiredModuleUninstallValidator::setStringTranslation

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php \Drupal\Core\ProxyClass\Extension\RequiredModuleUninstallValidator::setStringTranslation()
  2. 10 core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php \Drupal\Core\ProxyClass\Extension\RequiredModuleUninstallValidator::setStringTranslation()
  3. 11.x 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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.