You are here

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

FallbackController

Namespace

Drupal\entity_language_fallback

Code

public function __construct(LanguageManagerInterface $languageManager, EntityTypeManagerInterface $entityTypeManager) {
  $this->languageManager = $languageManager;
  $this->entityTypeManager = $entityTypeManager;
  $this->fallback_chain = [];
  $this->entityBundleCandidates = [];
}