function BookUninstallValidator::setStringTranslation

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

File

core/modules/book/src/ProxyClass/BookUninstallValidator.php, line 81

Class

BookUninstallValidator
Provides a proxy class for \Drupal\book\BookUninstallValidator.

Namespace

Drupal\book\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.