function ContentUninstallValidator::setStringTranslation

Same name in other branches
  1. 8.9.x 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()
  3. 11.x 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);
}

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