function InstallProfileUninstallValidator::setStringTranslation

Same name in other branches
  1. 11.x core/lib/Drupal/Core/ProxyClass/Extension/InstallProfileUninstallValidator.php \Drupal\Core\ProxyClass\Extension\InstallProfileUninstallValidator::setStringTranslation()

File

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

Class

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

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.