function FieldUninstallValidator::setStringTranslation

Same name in other branches
  1. 9 core/modules/field/src/ProxyClass/FieldUninstallValidator.php \Drupal\field\ProxyClass\FieldUninstallValidator::setStringTranslation()
  2. 8.9.x core/modules/field/src/ProxyClass/FieldUninstallValidator.php \Drupal\field\ProxyClass\FieldUninstallValidator::setStringTranslation()
  3. 11.x core/modules/field/src/ProxyClass/FieldUninstallValidator.php \Drupal\field\ProxyClass\FieldUninstallValidator::setStringTranslation()

File

core/modules/field/src/ProxyClass/FieldUninstallValidator.php, line 81

Class

FieldUninstallValidator
Provides a proxy class for \Drupal\field\FieldUninstallValidator.

Namespace

Drupal\field\ProxyClass

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.