function ContentTranslationEnableTranslationPerBundle::__construct

File

core/modules/content_translation/src/ContentTranslationEnableTranslationPerBundle.php, line 30

Class

ContentTranslationEnableTranslationPerBundle
Provides a widget to enable content translation per entity bundle.

Namespace

Drupal\content_translation

Code

public function __construct(protected ContentTranslationManagerInterface $contentTranslationManager, protected AccountInterface $currentUser, protected LanguageManagerInterface $languageManager, protected RouteBuilderInterface $routeBuilder) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.