You are here

public function ContentUninstallValidator::setStringTranslation in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php \Drupal\Core\ProxyClass\Entity\ContentUninstallValidator::setStringTranslation()
  2. 10 core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php \Drupal\Core\ProxyClass\Entity\ContentUninstallValidator::setStringTranslation()

File

core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php, line 81

Class

ContentUninstallValidator
Provides a proxy class for \Drupal\Core\Entity\ContentUninstallValidator.

Namespace

Drupal\Core\ProxyClass\Entity

Code

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