public function Lingotek::__construct in Lingotek Translation 3.0.x
Same name and namespace in other branches
- 8 src/Lingotek.php \Drupal\lingotek\Lingotek::__construct()
- 8.2 src/Lingotek.php \Drupal\lingotek\Lingotek::__construct()
- 4.0.x src/Lingotek.php \Drupal\lingotek\Lingotek::__construct()
- 3.1.x src/Lingotek.php \Drupal\lingotek\Lingotek::__construct()
- 3.2.x src/Lingotek.php \Drupal\lingotek\Lingotek::__construct()
- 3.3.x src/Lingotek.php \Drupal\lingotek\Lingotek::__construct()
- 3.4.x src/Lingotek.php \Drupal\lingotek\Lingotek::__construct()
- 3.5.x src/Lingotek.php \Drupal\lingotek\Lingotek::__construct()
- 3.6.x src/Lingotek.php \Drupal\lingotek\Lingotek::__construct()
- 3.7.x src/Lingotek.php \Drupal\lingotek\Lingotek::__construct()
- 3.8.x src/Lingotek.php \Drupal\lingotek\Lingotek::__construct()
Constructs a Lingotek object.
Parameters
\Drupal\lingotek\Remote\LingotekApiInterface $api: The Lingotek configuration service.
\Drupal\lingotek\LanguageLocaleMapperInterface $language_locale_mapper: The language-locale mapper.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
LingotekFilterManagerInterface $lingotek_filter_manager: The Lingotek Filter manager.
File
- src/
Lingotek.php, line 79
Class
- Lingotek
- The connecting class between Drupal and Lingotek
Namespace
Drupal\lingotekCode
public function __construct(LingotekApiInterface $api, LanguageLocaleMapperInterface $language_locale_mapper, ConfigFactoryInterface $config_factory, LingotekFilterManagerInterface $lingotek_filter_manager) {
$this->api = $api;
$this->languageLocaleMapper = $language_locale_mapper;
$this->configFactory = $config_factory;
$this->lingotekFilterManager = $lingotek_filter_manager;
}