public function GlExchangeAdapter::getTranslator in GlobalLink Connect for Drupal 8.2
Same name and namespace in other branches
- 8 src/GlExchangeAdapter.php \Drupal\globallink\GlExchangeAdapter::getTranslator()
Get translator.
Return value
\Drupal\tmgmt\TranslatorInterface|null The loaded translator if successfully loaded, otherwise null.
File
- src/
GlExchangeAdapter.php, line 50
Class
- GlExchangeAdapter
- Provides an interface to the provided library.
Namespace
Drupal\globallinkCode
public function getTranslator() {
return $this->translator;
}