function ContentUninstallValidator::setStringTranslation
Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php \Drupal\Core\ProxyClass\Entity\ContentUninstallValidator::setStringTranslation()
- 10 core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php \Drupal\Core\ProxyClass\Entity\ContentUninstallValidator::setStringTranslation()
- 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 <a href="/api/drupal/core%21lib%21Drupal%21Core%21Entity%21ContentUninstallValidator.php/class/ContentUninstallValidator/9" title="Validates module uninstall readiness based on existing content entities." class="local">\Drupal\Core\Entity\ContentUninstallValidator</a>.
Namespace
Drupal\Core\ProxyClass\EntityCode
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.