You are here

public function TranslationManagerWrapper::setDataCollector in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/StringTranslation/TranslationManagerWrapper.php \Drupal\webprofiler\StringTranslation\TranslationManagerWrapper::setDataCollector()
  2. 8.2 webprofiler/src/StringTranslation/TranslationManagerWrapper.php \Drupal\webprofiler\StringTranslation\TranslationManagerWrapper::setDataCollector()
  3. 4.x webprofiler/src/StringTranslation/TranslationManagerWrapper.php \Drupal\webprofiler\StringTranslation\TranslationManagerWrapper::setDataCollector()

Parameters

\Drupal\webprofiler\StringTranslation\TranslationManagerWrapper $translationManager:

File

webprofiler/src/StringTranslation/TranslationManagerWrapper.php, line 30

Class

TranslationManagerWrapper
Class TranslationManagerWrapper

Namespace

Drupal\webprofiler\StringTranslation

Code

public function setDataCollector(TranslationManagerWrapper $translationManager) {
  $this->translationManager = $translationManager;
}