public static function Lingotek::create in Lingotek Translation 8.2
Same name and namespace in other branches
- 8 src/Lingotek.php \Drupal\lingotek\Lingotek::create()
- 4.0.x src/Lingotek.php \Drupal\lingotek\Lingotek::create()
- 3.0.x src/Lingotek.php \Drupal\lingotek\Lingotek::create()
- 3.1.x src/Lingotek.php \Drupal\lingotek\Lingotek::create()
- 3.2.x src/Lingotek.php \Drupal\lingotek\Lingotek::create()
- 3.3.x src/Lingotek.php \Drupal\lingotek\Lingotek::create()
- 3.4.x src/Lingotek.php \Drupal\lingotek\Lingotek::create()
- 3.5.x src/Lingotek.php \Drupal\lingotek\Lingotek::create()
- 3.6.x src/Lingotek.php \Drupal\lingotek\Lingotek::create()
- 3.7.x src/Lingotek.php \Drupal\lingotek\Lingotek::create()
- 3.8.x src/Lingotek.php \Drupal\lingotek\Lingotek::create()
Overrides LingotekInterface::create
File
- src/
Lingotek.php, line 86
Class
- Lingotek
- The connecting class between Drupal and Lingotek
Namespace
Drupal\lingotekCode
public static function create(ContainerInterface $container) {
if (empty(self::$instance)) {
self::$instance = new Lingotek($container
->get('lingotek.api'), $container
->get('lingotek.language_locale_mapper'), $container
->get('config.factory'), $container
->get('lingotek.filter_manager'));
}
return self::$instance;
}