public function FallbackController::__construct in Entity Language Fallback 8
TranslationJobHandler constructor.
Parameters
\Drupal\Core\Language\LanguageManagerInterface $languageManager: An instance of the Language management service.
$entityTypeManager: An instance of entity type manager service.
File
- src/
FallbackController.php, line 34
Class
Namespace
Drupal\entity_language_fallbackCode
public function __construct(LanguageManagerInterface $languageManager, EntityTypeManagerInterface $entityTypeManager) {
$this->languageManager = $languageManager;
$this->entityTypeManager = $entityTypeManager;
$this->fallback_chain = [];
$this->entityBundleCandidates = [];
}