You are here

public function FieldUninstallValidator::setStringTranslation in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/field/src/ProxyClass/FieldUninstallValidator.php \Drupal\field\ProxyClass\FieldUninstallValidator::setStringTranslation()
  2. 9 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);
}