function BookManager::setStringTranslation

Same name in other branches
  1. 11.x core/modules/book/src/ProxyClass/BookManager.php \Drupal\book\ProxyClass\BookManager::setStringTranslation()

File

core/modules/book/src/ProxyClass/BookManager.php, line 236

Class

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

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.